aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmdline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline.cpp')
-rw-r--r--cmdline.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdline.cpp b/cmdline.cpp
index ea8894e..171b2e3 100644
--- a/cmdline.cpp
+++ b/cmdline.cpp
@@ -7,6 +7,7 @@
#include "sciteco.h"
#include "parser.h"
+#include "qbuffers.h"
#include "goto.h"
#include "undo.h"
@@ -99,7 +100,7 @@ process_edit_cmd(gchar key)
}
case '\t':
- if (current_state == &states.file) {
+ if (States::current == &States::file) {
gchar *new_chars = filename_complete(strings[0], escape_char);
if (new_chars)
g_stpcpy(insert, new_chars);