summaryrefslogtreecommitdiff
path: root/src/gui/popups/itempopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/itempopup.cpp')
-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;