[Plib-cvs] plib/src/pui puLargeInput.cxx,1.49,1.50
Brought to you by:
sjbaker
From: John F. F. <fa...@us...> - 2005-07-14 16:18:25
|
Update of /cvsroot/plib/plib/src/pui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8493 Modified Files: puLargeInput.cxx Log Message: Fixing a negative-array-index bug. This widget is deprecated in favor of the \"puAux\" equivalent, so I shouldn\'t be doing this, but I am a sucker. Index: puLargeInput.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puLargeInput.cxx,v retrieving revision 1.49 retrieving revision 1.50 diff -u -d -r1.49 -r1.50 --- puLargeInput.cxx 6 May 2005 18:31:12 -0000 1.49 +++ puLargeInput.cxx 14 Jul 2005 16:18:14 -0000 1.50 @@ -789,7 +789,7 @@ int length, prev_length = 0 ; while ( x <= (length = legendFont.getStringWidth ( start_of_line ) + abox.min[0] + beg_pos) && - i >= 0 ) + i > 0 ) { prev_length = length ; tmpval[--i] = '\0' ; |