1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/graphics/xfig/files/patch-w_cmdpanel.c
Martin Wilke 2e20a797a1 - Update to 3.2.5
PR:		111249
Submitted by:	Eric P. Scott <eps+pbug0704@ana.com>
2007-06-10 00:53:05 +00:00

19 lines
603 B
C

--- w_cmdpanel.c.orig Tue Jul 26 09:46:46 2005
+++ w_cmdpanel.c
@@ -1614,12 +1614,12 @@
static void
paste_char(Widget w, XtPointer client_data, XtPointer call_data)
{
- unsigned char *chr = (unsigned char *) client_data;
+ unsigned char chr = (unsigned char) client_data;
/* only allow during text input */
- if (canvas_kbd_proc != char_handler)
+ if (canvas_kbd_proc != (void (*)())char_handler)
return;
- char_handler((XKeyEvent *) 0, *chr, (KeySym) 0);
+ char_handler((XKeyEvent *) 0, chr, (KeySym) 0);
}
/* add or remove a checkmark to a menu entry to show that it