Author: manolo
Date: 2010-03-24 05:07:45 -0700 (Wed, 24 Mar 2010)
New Revision: 7326
Log:
Fixed output of \ to PostScript strings
Modified:
branches/branch-1.3/src/Fl_PS_Printer.cxx
Modified: branches/branch-1.3/src/Fl_PS_Printer.cxx
===================================================================
--- branches/branch-1.3/src/Fl_PS_Printer.cxx 2010-03-24 10:24:37 UTC (rev
7325)
+++ branches/branch-1.3/src/Fl_PS_Printer.cxx 2010-03-24 12:07:45 UTC (rev
7326)
@@ -867,9 +867,8 @@
}
i++;
switch (*str) {
- case '(': case ')':
- fprintf(output, "\\%c" , *str);
- break;
+ case '(': case ')': case '\\' :
+ fputs("\\" , output);
default:
fprintf(output, "%c", *str);
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit