aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2015-04-19 22:06:34 +0200
committerBlockMen <nmuelll@web.de>2015-11-12 17:38:15 +0100
commit36855522a5382614c525c69dd884560a197b875d (patch)
tree347db8b7f9634c88c111c2bc063568c99e5c3de9
parent0876623aedcd93100103d145788affcb5001bdaf (diff)
downloadminetest-36855522a5382614c525c69dd884560a197b875d.tar.gz
minetest-36855522a5382614c525c69dd884560a197b875d.tar.bz2
minetest-36855522a5382614c525c69dd884560a197b875d.zip
Fix scrollbars
-rw-r--r--src/guiFormSpecMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp
index c5edb967e..3cef5079e 100644
--- a/src/guiFormSpecMenu.cpp
+++ b/src/guiFormSpecMenu.cpp
@@ -450,7 +450,7 @@ void GUIFormSpecMenu::parseScrollBar(parserData* data, std::string element)
if (parts.size() >= 5) {
std::vector<std::string> v_pos = split(parts[0],',');
std::vector<std::string> v_dim = split(parts[1],',');
- std::string name = parts[2];
+ std::string name = parts[3];
std::string value = parts[4];
MY_CHECKPOS("scrollbar",0);