Cleaned up lots of typecasts, simplified some string handling

This commit is contained in:
ridiculousfish
2012-08-04 15:11:43 -07:00
parent 5880cd88c8
commit c67702a498
19 changed files with 54 additions and 116 deletions

View File

@@ -132,7 +132,7 @@ size_t parse_util_get_offset( const wcstring &str, int line, long line_offset )
if( off2 == (size_t)(-1) )
{
off2 = (int)(wcslen( buff )+1);
off2 = wcslen( buff )+1;
}
if( line_offset2 < 0 )