diff options
author | joerg <joerg> | 2013-03-03 01:11:10 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-03-03 01:11:10 +0000 |
commit | 25b6570bf3fd8f2ea6cbaee3e3051fd69fa1a3bc (patch) | |
tree | 9b29266543fc81f6eb480be6089e16f93c3c3de3 /cad/magic/patches/patch-netmenu_NMbutton.c | |
parent | 5bfdb7b4794e1c15a6133cc32961ea7f222d4dc8 (diff) | |
download | pkgsrc-25b6570bf3fd8f2ea6cbaee3e3051fd69fa1a3bc.tar.gz |
Fix inconsistent return types. Use stdarg.h more.
Diffstat (limited to 'cad/magic/patches/patch-netmenu_NMbutton.c')
-rw-r--r-- | cad/magic/patches/patch-netmenu_NMbutton.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cad/magic/patches/patch-netmenu_NMbutton.c b/cad/magic/patches/patch-netmenu_NMbutton.c new file mode 100644 index 00000000000..13e918c1341 --- /dev/null +++ b/cad/magic/patches/patch-netmenu_NMbutton.c @@ -0,0 +1,26 @@ +$NetBSD: patch-netmenu_NMbutton.c,v 1.1 2013/03/03 01:11:11 joerg Exp $ + +--- netmenu/NMbutton.c.orig 2013-03-02 22:48:07.000000000 +0000 ++++ netmenu/NMbutton.c +@@ -79,7 +79,7 @@ NMButtonNetList(window, cmd, nmButton, p + else + { + TxPrintf("New net list name: "); +- if (TxGetLine(newName, MAXLENGTH) == NULL) newName[0] == 0; ++ if (TxGetLine(newName, MAXLENGTH) == NULL) newName[0] = 0; + if (newName[0] == 0) return; + NMNewNetlist(newName); + } +$NetBSD: patch-netmenu_NMbutton.c,v 1.1 2013/03/03 01:11:11 joerg Exp $ + +--- netmenu/NMbutton.c.orig 2013-03-02 22:48:07.000000000 +0000 ++++ netmenu/NMbutton.c +@@ -79,7 +79,7 @@ NMButtonNetList(window, cmd, nmButton, p + else + { + TxPrintf("New net list name: "); +- if (TxGetLine(newName, MAXLENGTH) == NULL) newName[0] == 0; ++ if (TxGetLine(newName, MAXLENGTH) == NULL) newName[0] = 0; + if (newName[0] == 0) return; + NMNewNetlist(newName); + } |