diff options
author | Treeki <treeki@gmail.com> | 2013-04-08 22:39:38 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-04-08 22:39:38 +0200 |
commit | 14477e22b48ff6deaa06e6596eb21acdd59a4e90 (patch) | |
tree | 085daa96dbd20cb9091a4a761400731a53c24a4e /src | |
parent | 34c977fe4a91e14b32d974fd1ec7c55aebeda0f8 (diff) | |
download | kamek-14477e22b48ff6deaa06e6596eb21acdd59a4e90.tar.gz kamek-14477e22b48ff6deaa06e6596eb21acdd59a4e90.zip |
remove hyphens from world names in completion messages
Diffstat (limited to 'src')
-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; |