Skip to content
Permalink
Browse files

Fix spaces breaking formspec_version[] tag

  • Loading branch information
rubenwardy committed Dec 9, 2019
1 parent 9284313 commit 8e63d22d6472b61477f804dc5b00705650f90409
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit 8e63d22

Please sign in to comment.
You can’t perform that action at this time.