changeset 219:bc5c75b7a401

hex charcode support
author arpi_esp
date Tue, 27 Mar 2001 00:38:09 +0000
parents fbfc2077ba72
children 5348fa1313fe
files libvo/font_load.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/font_load.c	Tue Mar 27 00:32:24 2001 +0000
+++ b/libvo/font_load.c	Tue Mar 27 00:38:09 2001 +0000
@@ -170,10 +170,11 @@
   } else
 
   if(strcmp(section,"[characters]")==0){
-      if(pdb==3 && strlen(p[0])==1){
+      if(pdb==3){
           int chr=p[0][0];
           int start=atoi(p[1]);
           int end=atoi(p[2]);
+          if(strlen(p[0])!=1) chr=strtol(p[0],NULL,0);
           if(end<start) {
               printf("error in font desc: end<start for char '%c'\n",chr);
           } else {