From 88b5e53289856e557244a337a7cba39367a83f71 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Thu, 21 Aug 2014 12:10:33 +0000 Subject: Constify an internal table in Fl_Help_View. STR #3109 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Help_View.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 0cf9ad3c1..ca6bacba2 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -3362,7 +3362,7 @@ Fl_Help_View::value(const char *val) // I - Text to view static int // O - Code or -1 on error quote_char(const char *p) { // I - Quoted string int i; // Looping var - static struct { + static const struct { const char *name; int namelen; int code; -- cgit v1.2.3