From 3bca904230ffd504e448d8c2ad53f063bae85d03 Mon Sep 17 00:00:00 2001 From: jak1 Date: Sun, 7 Mar 2021 20:53:23 +0000 Subject: fixed char replacement pointer --- src/gui/popups/itempopup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2