diff options
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); + } |