mirror of
https://github.com/minetest/minetest.git
synced 2024-12-14 18:29:23 +01:00
Fix spaces breaking formspec_version[] tag
This commit is contained in:
parent
fa858530cc
commit
7a0884e2cd
@ -2005,7 +2005,7 @@ bool GUIFormSpecMenu::parseVersionDirect(const std::string &data)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parts[0] != "formspec_version") {
|
if (trim(parts[0]) != "formspec_version") {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user