1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-15 22:05:07 -05:00

Fix scrollbars

This commit is contained in:
BlockMen 2015-04-19 22:06:34 +02:00
parent 0876623aed
commit 36855522a5

View File

@ -450,7 +450,7 @@ void GUIFormSpecMenu::parseScrollBar(parserData* data, std::string element)
if (parts.size() >= 5) { if (parts.size() >= 5) {
std::vector<std::string> v_pos = split(parts[0],','); std::vector<std::string> v_pos = split(parts[0],',');
std::vector<std::string> v_dim = split(parts[1],','); std::vector<std::string> v_dim = split(parts[1],',');
std::string name = parts[2]; std::string name = parts[3];
std::string value = parts[4]; std::string value = parts[4];
MY_CHECKPOS("scrollbar",0); MY_CHECKPOS("scrollbar",0);