diff options
| author | Greg Ercolano <erco@seriss.com> | 2009-03-31 17:00:35 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2009-03-31 17:00:35 +0000 |
| commit | b6cf0250b6378b29f823184b30e4534598c87b54 (patch) | |
| tree | dcc6267474d0be5ee4f472ca11df6ed12526b4ff | |
| parent | 12318a5d25acd3e62cbc58bddae178a677b15671 (diff) | |
Made the char* arrays 'const' to prevent compiler warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6730 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/names.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/names.h b/FL/names.h index 9a7a6fadc..19a236fb1 100644 --- a/FL/names.h +++ b/FL/names.h @@ -30,7 +30,7 @@ #ifndef FL_NAMES_H #define FL_NAMES_H -char *fl_eventnames[] = +const char *fl_eventnames[] = { "FL_NO_EVENT", "FL_PUSH", @@ -58,7 +58,7 @@ char *fl_eventnames[] = "FL_DND_RELEASE", }; -char *fl_fontnames[] = +const char *fl_fontnames[] = { "FL_HELVETICA", "FL_HELVETICA_BOLD", |
