summaryrefslogtreecommitdiff
path: root/src/ui/list_input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/list_input.h')
-rw-r--r--src/ui/list_input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/list_input.h b/src/ui/list_input.h
index aad3ae4..932d0fd 100644
--- a/src/ui/list_input.h
+++ b/src/ui/list_input.h
@@ -30,7 +30,7 @@
#define list_input_reset(list) { \
(list)->line_index = 0; \
- (list)->selected = NULL; \
+ (list)->selected = 0; \
}
#define list_input_select(list, line_width, item) { \