diff options
| author | Manolo Gouy <Manolo> | 2010-03-24 16:18:36 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-03-24 16:18:36 +0000 |
| commit | 64482fa3116719378a76938548fe391ce1943e32 (patch) | |
| tree | 2d54e844b841d551ebfae5386412d9512d6c977c | |
| parent | 80c7817dc22ce75c3062453817fb8df3f1e16a60 (diff) | |
Added /* fallthrough */ comment in case statement.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_PS_Printer.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_PS_Printer.cxx b/src/Fl_PS_Printer.cxx index 02d632e4b..9963b1193 100644 --- a/src/Fl_PS_Printer.cxx +++ b/src/Fl_PS_Printer.cxx @@ -868,9 +868,10 @@ void Fl_PSfile_Device::transformed_draw(const char* str, int n, double x, double i++; switch (*str) { case '(': case ')': case '\\' : - fputs("\\" , output); + putc('\\' , output); + /* fallthrough */ default: - fprintf(output, "%c", *str); + putc(*str , output); } str++; } |
