> Used int instead of unsigned char as specified in isspace documentation.
Fabien, your changes again cause the appearing of debug assertion window on
VC2010 (Debug) while opening some FL file that uses non latin symbols.
Please, fix it in such way, for example:
if (n) { // see if blank, strip leading & trailing blanks
- if (!nostrip) while (isspace((int) *n)) n++;
+ if (!nostrip) while (isspace((int) *n & 255)) n++;
const char *e = n + strlen(n);
- if (!nostrip) while (e > n && isspace((int)*(e-1))) e--;
+ if (!nostrip) while (e > n && isspace((int)*(e-1) & 255)) e--;
length = e-n;
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs