mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-09 03:21:05 +00:00
tweak previous
This commit is contained in:
parent
3248d4adc5
commit
ed15d78e2b
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ void ExtractFileName( const char *path, char *dest ){
|
|||
//
|
||||
// back up until a \ or the start
|
||||
//
|
||||
while ( src != path && *( src - 1 ) != '/'
|
||||
while ( src > path && *( src - 1 ) != '/'
|
||||
&& *( src - 1 ) != '\\' )
|
||||
src--;
|
||||
|
||||
|
|
Loading…
Reference in a new issue