aboutsummaryrefslogtreecommitdiffstats
path: root/code/q3_ui/ui_qmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/q3_ui/ui_qmenu.c')
-rw-r--r--code/q3_ui/ui_qmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/q3_ui/ui_qmenu.c b/code/q3_ui/ui_qmenu.c
index a6ec29e..d26eaeb 100644
--- a/code/q3_ui/ui_qmenu.c
+++ b/code/q3_ui/ui_qmenu.c
@@ -1554,7 +1554,7 @@ Menu_ItemAtCursor
void *Menu_ItemAtCursor( menuframework_s *m )
{
if ( m->cursor < 0 || m->cursor >= m->nitems )
- return 0;
+ return NULL;
return m->items[m->cursor];
}