14 Aug
2002
14 Aug
'02
8:31 a.m.
What concerns me is not the the demo but the raw driver, which has a `basename` in it. OK, I will apply it. Perhaps a better way is to make a _GrBasename function, easy to move it out of the raw driver if we need it in other places someday.
Perhaps we can use it even now to remove the loadfont.c's: while((chr = *name++) != '\0') { ... } and use: f = doit(name,"",cvt,w,h,minc,maxc); if((f == NULL) && name == _GrBasename(name)) { The main reason for the while() is to cut everything after the first isspace(), which results in failing for any filenames with isspace()-s it them(?!) Even the MS-DOS 8.3 file/directory names are allowed to contain spaces. E-gards: Jimmy
8792
Age (days ago)
8792
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dimitar Zhekov