]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compilation :/
authorterencehill <piuntn@gmail.com>
Sat, 25 Jul 2015 14:09:46 +0000 (16:09 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 25 Jul 2015 14:09:46 +0000 (16:09 +0200)
qcsrc/menu/item/listbox.qc

index ad80d18adb2fb56a1355194936cace45ad781199..f90e3b901378308ec2335190dd12b40e8c2a369d 100644 (file)
@@ -85,9 +85,9 @@ ENDCLASS(ListBox)
 #ifdef IMPLEMENTATION
 void ListBox_scrollToItem(entity me, int i)
 {
-       // scroll doesn't work properly until iHeight is set to the correct value
+       // scroll doesn't work properly until itemHeight is set to the correct value
        // at the first resizeNotify call
-       if(me.iHeight == 1) // initial temporary value of iHeight is 1
+       if(me.itemHeight == 1) // initial temporary value of itemHeight is 1
        {
                me.needScrollToItem = i;
                return;