*** generic/tkText.c.orig	Wed Apr 21 23:53:28 1999
--- generic/tkText.c	Sun Jan 16 17:43:05 2000
***************
*** 1797,1803 ****
  	    }
  	    matchByte = i;
  	    matchLength = thisLength;
! 	    firstByte += Tcl_UtfToUniChar(startOfLine + matchByte, &ch);
  	} while (backwards);
  
  	/*
--- 1797,1803 ----
  	    }
  	    matchByte = i;
  	    matchLength = thisLength;
! 	    firstByte = i + Tcl_UtfToUniChar(startOfLine + matchByte, &ch);
  	} while (backwards);
  
  	/*
