diff options
| author | Ian MacArthur <imacarthur@gmail.com> | 2014-05-01 09:09:58 +0000 |
|---|---|---|
| committer | Ian MacArthur <imacarthur@gmail.com> | 2014-05-01 09:09:58 +0000 |
| commit | b1a6eeeda25251b79e41e6b5347d6e13b3f5ddd6 (patch) | |
| tree | 997e0b6d90f718edbe984c96bab12458fdb09d0d | |
| parent | abb91eed737e1fb7880514f09f0b59c7735e9e1f (diff) | |
Fix for STR #3044, part 2. (final)
Fix DEBUG statement near line 572 of Fl_File_Icon2.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_File_Icon2.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Fl_File_Icon2.cxx b/src/Fl_File_Icon2.cxx index e2cc76f9b..5fc83db55 100644 --- a/src/Fl_File_Icon2.cxx +++ b/src/Fl_File_Icon2.cxx @@ -570,9 +570,14 @@ int Fl_File_Icon::load_image(const char *ifile) // I - File to read from img->release(); #ifdef DEBUG +{ + int i; printf("Icon File \"%s\":\n", xpm); for (i = 0; i < num_data_; i ++) + { printf(" %d,\n", data_[i]); + } +} #endif // DEBUG return 0; @@ -582,7 +587,7 @@ int Fl_File_Icon::load_image(const char *ifile) // I - File to read from /** Loads all system-defined icons. This call is useful when using the FileChooser widget and should be used when the application starts: - + \code Fl_File_Icon::load_system_icons(); \endcode @@ -616,7 +621,7 @@ Fl_File_Icon::load_system_icons(void) { VERTEX, 7000, 5000, END, LINE, VERTEX, 3000, 4000, VERTEX, 7000, 4000, END, LINE, VERTEX, 3000, 3000, VERTEX, 7000, 3000, END, LINE, VERTEX, 3000, 2000, - VERTEX, 7000, 2000, END, + VERTEX, 7000, 2000, END, END }; static short image[] = { // Image file icon |
