[Plib-cvs] CVS: plib/src/pui puLargeInput.cxx,1.30,1.31
Brought to you by:
sjbaker
From: Sebastian U. <ud...@us...> - 2002-03-23 16:26:44
|
Update of /cvsroot/plib/plib/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv15569 Modified Files: puLargeInput.cxx Log Message: Removed unnecessary "if" Index: puLargeInput.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puLargeInput.cxx,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- puLargeInput.cxx 23 Mar 2002 15:06:44 -0000 1.30 +++ puLargeInput.cxx 23 Mar 2002 16:26:40 -0000 1.31 @@ -1134,7 +1134,7 @@ // Wrap the text in "text" and put it in "wrapped_text" int l_len = strlen (text) ; - if ( wrapped_text ) delete [] wrapped_text ; + delete [] wrapped_text ; wrapped_text = new char[l_len + 1] ; memcpy(wrapped_text, text, l_len + 1) ; |