diff options
| author | Lauri Kasanen <cand@gmx.com> | 2014-08-21 12:18:32 +0000 |
|---|---|---|
| committer | Lauri Kasanen <cand@gmx.com> | 2014-08-21 12:18:32 +0000 |
| commit | 6bfd46312f96d8d67b139214e600cd2f3b2610ce (patch) | |
| tree | 14c9348415e490be95e388b61275be0c4ef95693 /src/print_panel.cxx | |
| parent | c706d3c101cc3e159fea95c54a044d26ba9b3649 (diff) | |
Sprinkle some more const on internal arrays. STR #3110
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10234 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/print_panel.cxx')
| -rw-r--r-- | src/print_panel.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/print_panel.cxx b/src/print_panel.cxx index 66ffa351d..3a4392c5b 100644 --- a/src/print_panel.cxx +++ b/src/print_panel.cxx @@ -110,7 +110,7 @@ static void cb_print_properties_panel(Fl_Double_Window*, void*) { print_update_status(); } -static Fl_Menu_Item menu_print_page_size[] = { +static const Fl_Menu_Item menu_print_page_size[] = { {"Letter", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"A4", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, {"Legal", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0}, @@ -124,7 +124,7 @@ static Fl_Menu_Item menu_print_page_size[] = { }; #include <FL/Fl_Pixmap.H> -static const char *idata_print_color[] = { +static const char * const idata_print_color[] = { "24 24 17 1", " \tc None", ".\tc #FFFF00", @@ -170,7 +170,7 @@ static const char *idata_print_color[] = { }; static Fl_Pixmap image_print_color(idata_print_color); -static const char *idata_print_gray[] = { +static const char * const idata_print_gray[] = { "24 24 17 1", " \tc None", ".\tc #E3E3E3", |
