diff options
-rw-r--r-- | src/koopatlas/core.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp index 613bb80..c86c696 100644 --- a/src/koopatlas/core.cpp +++ b/src/koopatlas/core.cpp @@ -1121,8 +1121,11 @@ void dScKoopatlas_c::executeState_CompletionMsg() { text[pos++] = ' '; - while (*title) - text[pos++] = *(title++); + while (*title) { + char chr = *(title++); + if (chr != '-') + text[pos++] = chr; + } text[pos++] = '!'; text[pos++] = 0; |