From 0ee742ec6428c07c64e441170f249f73cbf762c7 Mon Sep 17 00:00:00 2001 From: Michael R Sweet <michael.r.sweet@gmail.com> Date: Fri, 13 Apr 2001 19:34:03 +0000 Subject: [PATCH] Write pixmap strings as const char *[] instead of char *[]. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fluid_Image.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fluid/Fluid_Image.cxx b/fluid/Fluid_Image.cxx index d1fff4b8d..72cb8c493 100644 --- a/fluid/Fluid_Image.cxx +++ b/fluid/Fluid_Image.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fluid_Image.cxx,v 1.7.2.8 2001/04/13 19:07:40 easysw Exp $" +// "$Id: Fluid_Image.cxx,v 1.7.2.9 2001/04/13 19:34:03 easysw Exp $" // // Pixmap label support for the Fast Light Tool Kit (FLTK). // @@ -71,7 +71,7 @@ void pixmap_image::write_static() { write_c("#include <FL/Fl_Pixmap.H>\n"); pixmap_header_written = write_number; } - write_c("static char *%s[] = {\n", + write_c("static const char *%s[] = {\n", unique_id(this, "image", filename_name(name()), 0)); int l; for (l = 0; l < numlines; l++) { @@ -436,5 +436,5 @@ Fluid_Image *ui_find_image(const char *oldname) { } // -// End of "$Id: Fluid_Image.cxx,v 1.7.2.8 2001/04/13 19:07:40 easysw Exp $". +// End of "$Id: Fluid_Image.cxx,v 1.7.2.9 2001/04/13 19:34:03 easysw Exp $". // -- GitLab