diff options
Diffstat (limited to 'goto.cpp')
-rw-r--r-- | goto.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -8,6 +8,10 @@ #include "undo.h" #include "goto.h" +namespace States { + StateLabel label; +} + static gchar *skip_label = NULL; class GotoTable { @@ -196,7 +200,7 @@ StateLabel::custom(gchar chr) g_free(strings[0]); strings[0] = NULL; - return &states.start; + return &States::start; } undo.push_str(strings[0]); |