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:
43dab2f
)
Don't print an error for valid listring[] formspec
author
est31
<MTest31@outlook.com>
Thu, 18 Jun 2015 02:25:11 +0000
(
04:25
+0200)
committer
est31
<MTest31@outlook.com>
Thu, 18 Jun 2015 02:25:11 +0000
(
04:25
+0200)
src/guiFormSpecMenu.cpp
patch
|
blob
|
history
diff --git
a/src/guiFormSpecMenu.cpp
b/src/guiFormSpecMenu.cpp
index 73fef9a692a39b8b5ff4c72f937ec126fbc0de7b..c11fc303a6d6762cb399e5bdfb223e6ea927ac31 100644
(file)
--- a/
src/guiFormSpecMenu.cpp
+++ b/
src/guiFormSpecMenu.cpp
@@
-381,6
+381,7
@@
void GUIFormSpecMenu::parseListRing(parserData* data, std::string element)
const ListDrawSpec &spb = m_inventorylists[siz - 1];
m_inventory_rings.push_back(ListRingSpec(spa.inventoryloc, spa.listname));
m_inventory_rings.push_back(ListRingSpec(spb.inventoryloc, spb.listname));
+ return;
}
errorstream<< "Invalid list ring element(" << parts.size() << ", "
<< m_inventorylists.size() << "): '" << element << "'" << std::endl;