|
From: creedon <icr...@us...> - 2004-12-04 21:02:04
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14260 Modified Files: command.c Log Message: changed cmdsavestring function, deal with nil (**hc).hscriptstring Index: command.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/command.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** command.c 31 Oct 2004 17:31:02 -0000 1.3 --- command.c 4 Dec 2004 21:01:56 -0000 1.4 *************** *** 65,68 **** --- 65,69 ---- */ + Handle h; /* 2004-12-03 creedon - temporary handle */ register hdlcancoonrecord hc; *************** *** 73,77 **** if (!equalhandles (htext, (**hc).hscriptstring)) { ! copyhandlecontents (htext, (**hc).hscriptstring); (**hc).fldirty = true; --- 74,83 ---- if (!equalhandles (htext, (**hc).hscriptstring)) { ! if ((**hc).hscriptstring == nil) { /* 2004-12-03 creedon, aradke */ ! copyhandle (htext, &h); ! (**hc).hscriptstring = h; ! } ! else ! copyhandlecontents (htext, (**hc).hscriptstring); (**hc).fldirty = true; |