aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/guiFormSpecMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp
index f39eb70ab..948ee4030 100644
--- a/src/gui/guiFormSpecMenu.cpp
+++ b/src/gui/guiFormSpecMenu.cpp
@@ -2090,7 +2090,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize)
break;
std::vector<std::string> parts = split(elements[i], '[');
- if (parts[0] == "no_prepend")
+ if (trim(parts[0]) == "no_prepend")
enable_prepends = false;
else
break;