summaryrefslogtreecommitdiff
path: root/devel/tig/patches/patch-tig_c
blob: f1f3b12a4b86d68264655c27546b1bbdfaf7791a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-tig_c,v 1.1.2.2 2011/08/01 04:30:52 sbd Exp $

--- tig.c.orig	2011-03-07 01:50:11.000000000 +0000
+++ tig.c
@@ -1897,12 +1897,12 @@ redraw_display(bool clear)
  */
 
 #define TOGGLE_MENU \
-	TOGGLE_(LINENO,    '.', "line numbers",      &opt_line_number, NULL) \
+	TOGGLE_(LINENO,    '.', "line numbers",      &opt_line_number, (struct enum_map *)NULL) \
 	TOGGLE_(DATE,      'D', "dates",             &opt_date,	  date_map) \
 	TOGGLE_(AUTHOR,    'A', "author names",      &opt_author, author_map) \
 	TOGGLE_(GRAPHIC,   '~', "graphics",          &opt_line_graphics, graphic_map) \
-	TOGGLE_(REV_GRAPH, 'g', "revision graph",    &opt_rev_graph, NULL) \
-	TOGGLE_(REFS,      'F', "reference display", &opt_show_refs, NULL)
+	TOGGLE_(REV_GRAPH, 'g', "revision graph",    &opt_rev_graph, (struct enum_map *)NULL) \
+	TOGGLE_(REFS,      'F', "reference display", &opt_show_refs, (struct enum_map *)NULL)
 
 static void
 toggle_option(enum request request)