diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/ListWidget.cpp | 2 | ||||
-rw-r--r-- | gui/debugger.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp index 7d809938e2..44431f9932 100644 --- a/gui/ListWidget.cpp +++ b/gui/ListWidget.cpp @@ -642,7 +642,7 @@ void ListWidget::setFilter(const String &filter, bool redraw) { } else { // Restrict the list to everything which contains all words in _filter // as substrings, ignoring case. - + Common::StringTokenizer tok(_filter); String tmp; int n = 0; diff --git a/gui/debugger.cpp b/gui/debugger.cpp index 858164259d..39e5d7d3bb 100644 --- a/gui/debugger.cpp +++ b/gui/debugger.cpp @@ -157,7 +157,7 @@ void Debugger::enter() { g_readline_debugger = this; rl_completion_entry_function = &readline_completionFunction; - + char *line_read = 0; do { free(line_read); @@ -375,7 +375,7 @@ char *Debugger::readlineComplete(const char *input, int state) { char *ret = (char *)malloc(iter->_key.size() + 1); strcpy(ret, iter->_key.c_str()); return ret; - } + } } return 0; } |