diff options
Diffstat (limited to 'cad/magic/patches/patch-netmenu_NMmain.c')
-rw-r--r-- | cad/magic/patches/patch-netmenu_NMmain.c | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/cad/magic/patches/patch-netmenu_NMmain.c b/cad/magic/patches/patch-netmenu_NMmain.c new file mode 100644 index 00000000000..427918fcb19 --- /dev/null +++ b/cad/magic/patches/patch-netmenu_NMmain.c @@ -0,0 +1,66 @@ +$NetBSD: patch-netmenu_NMmain.c,v 1.1 2013/03/03 01:11:11 joerg Exp $ + +--- netmenu/NMmain.c.orig 2013-03-02 22:39:15.000000000 +0000 ++++ netmenu/NMmain.c +@@ -238,13 +238,8 @@ NMreposition(window, newScreenArea, fina + * ---------------------------------------------------------------------------- + */ + +-int +-NMredisplay(w, rootArea, clipArea) +- MagWindow *w; /* The window containing the area. */ +- Rect *rootArea; /* Redisplay area in surface coordinates. */ +- Rect *clipArea; /* Screen area to clip to. If NULL, use +- * screen area of window. */ +- ++void ++NMredisplay(MagWindow *w, Rect *rootArea, Rect *clipArea) + { + Rect clip, screenR; + Point screenP; +@@ -356,10 +351,8 @@ NMredisplay(w, rootArea, clipArea) + * ---------------------------------------------------------------------------- + */ + +-int +-NMcommand(w, cmd) +- MagWindow *w; /* Net-list menu window. */ +- TxCommand *cmd; ++void ++NMcommand(MagWindow *w, TxCommand *cmd) + { + NetButton *nb; + Point surfacePoint; +$NetBSD: patch-netmenu_NMmain.c,v 1.1 2013/03/03 01:11:11 joerg Exp $ + +--- netmenu/NMmain.c.orig 2013-03-02 22:39:15.000000000 +0000 ++++ netmenu/NMmain.c +@@ -238,13 +238,8 @@ NMreposition(window, newScreenArea, fina + * ---------------------------------------------------------------------------- + */ + +-int +-NMredisplay(w, rootArea, clipArea) +- MagWindow *w; /* The window containing the area. */ +- Rect *rootArea; /* Redisplay area in surface coordinates. */ +- Rect *clipArea; /* Screen area to clip to. If NULL, use +- * screen area of window. */ +- ++void ++NMredisplay(MagWindow *w, Rect *rootArea, Rect *clipArea) + { + Rect clip, screenR; + Point screenP; +@@ -356,10 +351,8 @@ NMredisplay(w, rootArea, clipArea) + * ---------------------------------------------------------------------------- + */ + +-int +-NMcommand(w, cmd) +- MagWindow *w; /* Net-list menu window. */ +- TxCommand *cmd; ++void ++NMcommand(MagWindow *w, TxCommand *cmd) + { + NetButton *nb; + Point surfacePoint; |