projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa85853
)
Fix spaces breaking formspec_version[] tag
author
rubenwardy
<rw@rubenwardy.com>
Mon, 9 Dec 2019 21:05:07 +0000
(21:05 +0000)
committer
rubenwardy
<rw@rubenwardy.com>
Tue, 31 Dec 2019 21:31:53 +0000
(21:31 +0000)
src/gui/guiFormSpecMenu.cpp
patch
|
blob
|
history
diff --git
a/src/gui/guiFormSpecMenu.cpp
b/src/gui/guiFormSpecMenu.cpp
index 83d7923d900d4703a8b0de1c29d99bc3c8072090..8d740237c49e6670690cf14fc352f74d68e89d7b 100644
(file)
--- a/
src/gui/guiFormSpecMenu.cpp
+++ b/
src/gui/guiFormSpecMenu.cpp
@@
-2005,7
+2005,7
@@
bool GUIFormSpecMenu::parseVersionDirect(const std::string &data)
return false;
}
- if (
parts[0]
!= "formspec_version") {
+ if (
trim(parts[0])
!= "formspec_version") {
return false;
}