summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-11-29 23:24:10 +0100
committerMatthias Melcher <github@matthiasm.com>2025-11-29 23:24:10 +0100
commit110857a6fc73c717ef918193f8ef4cfc70044885 (patch)
tree51b94644bbc7d3cd20e97c138a0a188f90f97554 /FL
parent039ef2d322920aacc8c84c6a293f3e27f0c31cee (diff)
Fix names map for multiple includes.
Diffstat (limited to 'FL')
-rw-r--r--FL/names.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/names.h b/FL/names.h
index 8d07ef1b1..44f442a23 100644
--- a/FL/names.h
+++ b/FL/names.h
@@ -1,7 +1,7 @@
//
// Event and other names header file for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2024 by Bill Spitzak and others.
+// Copyright 1998-2025 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -47,7 +47,7 @@
}
\endcode
*/
-std::map<int, const char*> fl_eventnames = {
+static std::map<int, const char*> fl_eventnames = {
{ FL_NO_EVENT, "FL_NO_EVENT" },
{ FL_PUSH, "FL_PUSH" },
{ FL_RELEASE, "FL_RELEASE" },