Minor bug correction in new cursor movement code.

darcs-hash:20070921142301-75c98-7fc9bbdf1591e0fc24a562e69bf483845a160df5.gz
This commit is contained in:
liljencrantz
2007-09-22 00:23:01 +10:00
parent 2375578310
commit 624878d35f
2 changed files with 23 additions and 37 deletions

View File

@@ -208,7 +208,7 @@ int parse_util_get_offset( wchar_t *buff, int line, int line_offset )
if( off2 < 0 )
{
off2 = wcslen( buff );
off2 = wcslen( buff )+1;
}
if( line_offset2 < 0 )