diff options
author | rubenwardy <rw@rubenwardy.com> | 2019-12-09 21:05:07 +0000 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2019-12-09 21:05:07 +0000 |
commit | 8e63d22d6472b61477f804dc5b00705650f90409 (patch) | |
tree | 7adb706763505681063241bb70f3f16faad5e33e /src/gui | |
parent | 9284313d17ba906de449c6d39ef3ddacb6c73791 (diff) | |
download | minetest-8e63d22d6472b61477f804dc5b00705650f90409.tar.gz minetest-8e63d22d6472b61477f804dc5b00705650f90409.tar.bz2 minetest-8e63d22d6472b61477f804dc5b00705650f90409.zip |
Fix spaces breaking formspec_version[] tag
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/guiFormSpecMenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index 728747eb8..ab20840f9 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -2262,7 +2262,7 @@ bool GUIFormSpecMenu::parseVersionDirect(const std::string &data) return false; } - if (parts[0] != "formspec_version") { + if (trim(parts[0]) != "formspec_version") { return false; } |