summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjak1 <mike.wollmann@gmail.com>2021-03-07 20:53:23 +0000
committerjak1 <mike.wollmann@gmail.com>2021-03-07 20:53:23 +0000
commit3bca904230ffd504e448d8c2ad53f063bae85d03 (patch)
treea2aa7632859c5bacf6f24d4e0b80bb224d41aa8e
parent178aae86aa6ac3e59797ff4e33523db5c6e1261d (diff)
downloadmanaverse-3bca904230ffd504e448d8c2ad53f063bae85d03.tar.gz
manaverse-3bca904230ffd504e448d8c2ad53f063bae85d03.tar.bz2
manaverse-3bca904230ffd504e448d8c2ad53f063bae85d03.tar.xz
manaverse-3bca904230ffd504e448d8c2ad53f063bae85d03.zip
fixed char replacement pointer
-rw-r--r--src/gui/popups/itempopup.cpp2
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;