summaryrefslogtreecommitdiff
path: root/src
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 /src
parent178aae86aa6ac3e59797ff4e33523db5c6e1261d (diff)
downloadmv-3bca904230ffd504e448d8c2ad53f063bae85d03.tar.gz
mv-3bca904230ffd504e448d8c2ad53f063bae85d03.tar.bz2
mv-3bca904230ffd504e448d8c2ad53f063bae85d03.tar.xz
mv-3bca904230ffd504e448d8c2ad53f063bae85d03.zip
fixed char replacement pointer
Diffstat (limited to 'src')
-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;