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:
9284313
)
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>
Mon, 9 Dec 2019 21:05:07 +0000
(21:05 +0000)
src/gui/guiFormSpecMenu.cpp
patch
|
blob
|
history
diff --git
a/src/gui/guiFormSpecMenu.cpp
b/src/gui/guiFormSpecMenu.cpp
index 728747eb86eee215fcde9c2aa45b4562a9eb9245..ab20840f97c5da16fb69ef2c413e8947f5d58676 100644
(file)
--- 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;
}