diff options
Diffstat (limited to 'linden/indra/llui/llscrolllistctrl.h')
-rw-r--r-- | linden/indra/llui/llscrolllistctrl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llui/llscrolllistctrl.h b/linden/indra/llui/llscrolllistctrl.h index 429985b..9829832 100644 --- a/linden/indra/llui/llscrolllistctrl.h +++ b/linden/indra/llui/llscrolllistctrl.h | |||
@@ -328,7 +328,7 @@ public: | |||
328 | 328 | ||
329 | S32 getNumColumns() const { return mColumns.size(); } | 329 | S32 getNumColumns() const { return mColumns.size(); } |
330 | 330 | ||
331 | LLScrollListCell *getColumn(const S32 i) const { if (i < (S32)mColumns.size()) { return mColumns[i]; } return NULL; } | 331 | LLScrollListCell *getColumn(const S32 i) const { if (0 <= i && i < (S32)mColumns.size()) { return mColumns[i]; } return NULL; } |
332 | 332 | ||
333 | virtual BOOL handleClick(S32 x, S32 y, MASK mask); | 333 | virtual BOOL handleClick(S32 x, S32 y, MASK mask); |
334 | 334 | ||