mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-24 05:41:14 -03:00
Cleaned up lots of typecasts, simplified some string handling
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user