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)
"This is the QWK System ID of this hub. It is used for incoming and\n"
"outgoing network packets and must be accurate.\n"
;
strcpy(str,cfg.qhub[num]->id); /* save */
if(!uifc.input(WIN_MID|WIN_SAV,0,0,"QWK Network Hub System ID"
,cfg.qhub[num]->id,LEN_QWKID,K_UPPER|K_EDIT))
strcpy(cfg.qhub[num]->id,str);
uifc.input(WIN_MID|WIN_SAV,0,0,"QWK Network Hub System ID"
,cfg.qhub[num]->id,LEN_QWKID,K_UPPER|K_EDIT);
break;
case __COUNTER__:
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