[Plib-cvs] plib/src/puAux puAuxLargeInput.cxx,1.6,1.7
Brought to you by:
sjbaker
From: John F. F. <fa...@us...> - 2005-07-14 16:12:24
|
Update of /cvsroot/plib/plib/src/puAux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6716 Modified Files: puAuxLargeInput.cxx Log Message: Fixing a negative-array-index bug Index: puAuxLargeInput.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxLargeInput.cxx,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- puAuxLargeInput.cxx 23 May 2005 16:43:11 -0000 1.6 +++ puAuxLargeInput.cxx 14 Jul 2005 16:12:05 -0000 1.7 @@ -793,7 +793,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' ; |