1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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);
}
|