From 72c8e118fe8f76a9ec1aab21a56c113d6d9d636a Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 25 Jul 2015 16:09:46 +0200 Subject: [PATCH] Fix compilation :/ --- qcsrc/menu/item/listbox.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/menu/item/listbox.qc b/qcsrc/menu/item/listbox.qc index ad80d18ad..f90e3b901 100644 --- a/qcsrc/menu/item/listbox.qc +++ b/qcsrc/menu/item/listbox.qc @@ -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; -- 2.39.2