Fix scrollbars
authorBlockMen <nmuelll@web.de>
Sun, 19 Apr 2015 20:06:34 +0000 (22:06 +0200)
committerBlockMen <nmuelll@web.de>
Thu, 12 Nov 2015 16:38:15 +0000 (17:38 +0100)
src/guiFormSpecMenu.cpp

index c5edb967eaea1f8c10075aaa9c0f34b1357cae91..3cef5079ec9c2049a3bed9d6af2d6677ba3299a6 100644 (file)
@@ -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);