diff options
author | jak1 <mike.wollmann@gmail.com> | 2021-03-07 20:53:23 +0000 |
---|---|---|
committer | jak1 <mike.wollmann@gmail.com> | 2021-03-07 20:53:23 +0000 |
commit | 3bca904230ffd504e448d8c2ad53f063bae85d03 (patch) | |
tree | a2aa7632859c5bacf6f24d4e0b80bb224d41aa8e | |
parent | 178aae86aa6ac3e59797ff4e33523db5c6e1261d (diff) | |
download | plus-3bca904230ffd504e448d8c2ad53f063bae85d03.tar.gz plus-3bca904230ffd504e448d8c2ad53f063bae85d03.tar.bz2 plus-3bca904230ffd504e448d8c2ad53f063bae85d03.tar.xz plus-3bca904230ffd504e448d8c2ad53f063bae85d03.zip |
fixed char replacement pointer
-rw-r--r-- | src/gui/popups/itempopup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp index f7898d91a..f521dee50 100644 --- a/src/gui/popups/itempopup.cpp +++ b/src/gui/popups/itempopup.cpp @@ -473,7 +473,7 @@ char* ItemPopup::replaceChar(char* str, char find, char replace) while ((currentPos = strchr(currentPos, find)) != NULL) { *currentPos = ' '; - *currentPos++; + currentPos++; *currentPos = replace; } return str; |