Juliusz Chroboczek <[EMAIL PROTECTED]> $B$5$s$O=q$-$^$7$?(B:
(B
(B> Would you be so kind as to test the attached patch and confirm that it
(B> does what you want?  It's rather urgent, I'd like it to go into 4.3.
(B
(BThere is a 'i++;' too much:
(B
(B+     for(i = 0; i < len; i++) {
(B+         if(unsafe(s[i]))
(B+             t[i] = ' ';
(B+         else
(B+             t[i] = s[i];
(B+         i++;              <----- too much
(B+     }
(B
(Band the '-' character is missing in the list of unsafe chars:
(B
(B+ static int
(B+ unsafe(char c)
(B+ {
(B+     return 
(B+         c < 0x20 || c > 0x7E ||
(B+         c == '[' || c == ']' || c == '(' || c == ')' || c == '\\';
(B+ }
(B
(B-- 
(BMike Fabian   <[EMAIL PROTECTED]>   http://www.suse.de/~mfabian
$B?gL2ITB-$O$$$$;E;v$NE($@!#(B
(B_______________________________________________
(BFonts mailing list
([EMAIL PROTECTED]
(Bhttp://XFree86.Org/mailman/listinfo/fonts


Reply via email to