Author: manolo
Date: 2010-03-24 09:18:36 -0700 (Wed, 24 Mar 2010)
New Revision: 7328
Log:
Added /* fallthrough */ comment in case statement.
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 13:54:50 UTC (rev
7327)
+++ branches/branch-1.3/src/Fl_PS_Printer.cxx 2010-03-24 16:18:36 UTC (rev
7328)
@@ -868,9 +868,10 @@
i++;
switch (*str) {
case '(': case ')': case '\\' :
- fputs("\\" , output);
+ putc('\\' , output);
+ /* fallthrough */
default:
- fprintf(output, "%c", *str);
+ putc(*str , output);
}
str++;
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit