summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-04-13 19:34:03 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-04-13 19:34:03 +0000
commit0ee742ec6428c07c64e441170f249f73cbf762c7 (patch)
treecb1a332ff48ec02e08752227e473fc83039bf895
parent022ba3679f3837eb551c587aa6001b95409e0955 (diff)
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
-rw-r--r--fluid/Fluid_Image.cxx6
1 files 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 $".
//