Commit be414d2b authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Eliminate unnecessary save/restore

resolved CID 350321
parent b9e78bdf
...@@ -922,10 +922,8 @@ void qhub_edit(int num) ...@@ -922,10 +922,8 @@ void qhub_edit(int num)
"This is the QWK System ID of this hub. It is used for incoming and\n" "This is the QWK System ID of this hub. It is used for incoming and\n"
"outgoing network packets and must be accurate.\n" "outgoing network packets and must be accurate.\n"
; ;
strcpy(str,cfg.qhub[num]->id); /* save */ uifc.input(WIN_MID|WIN_SAV,0,0,"QWK Network Hub System ID"
if(!uifc.input(WIN_MID|WIN_SAV,0,0,"QWK Network Hub System ID" ,cfg.qhub[num]->id,LEN_QWKID,K_UPPER|K_EDIT);
,cfg.qhub[num]->id,LEN_QWKID,K_UPPER|K_EDIT))
strcpy(cfg.qhub[num]->id,str);
break; break;
case __COUNTER__: case __COUNTER__:
uifc.helpbuf= uifc.helpbuf=
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment