summaryrefslogtreecommitdiff
path: root/math/calctool/files/patch-xview.c
blob: 993c90c42bd8a13741ec6b494dd201e4893ad141 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- xview.c.orig	Thu Jul 13 12:10:02 2006
+++ xview.c	Thu Jul 13 12:11:30 2006
@@ -525,7 +525,7 @@
                       XV_HEIGHT,         16,
                       SERVER_IMAGE_BITS, help_cursor_array,
                       0) ;
-  help_cursor = xv_create(NULL, CURSOR,
+  help_cursor = xv_create(0, CURSOR,
                           CURSOR_XHOT,  0,
                           CURSOR_YHOT,  0,
                           CURSOR_OP,    PIX_SRC | PIX_DST,
@@ -590,7 +590,7 @@
 {
   int choice ;
 
-  choice = (int) menu_get(menu_item, MENU_VALUE,NULL) ;
+  choice = (int) menu_get(menu_item, MENU_VALUE, 0) ;
   if (choice) handle_menu_selection(curmenu, choice) ;
 }