diff options
Diffstat (limited to 'plugins/Updater/zbin/minizip/minizip.c')
-rw-r--r-- | plugins/Updater/zbin/minizip/minizip.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Updater/zbin/minizip/minizip.c b/plugins/Updater/zbin/minizip/minizip.c index 7a4fa5a643..d979e14bf2 100644 --- a/plugins/Updater/zbin/minizip/minizip.c +++ b/plugins/Updater/zbin/minizip/minizip.c @@ -417,18 +417,18 @@ int main(argc,argv) } /*should the zip file contain any path at all?*/ - if( opt_exclude_path ) + if ( opt_exclude_path ) { const char *tmpptr; const char *lastslash = 0; - for( tmpptr = savefilenameinzip; *tmpptr; tmpptr++) + for ( tmpptr = savefilenameinzip; *tmpptr; tmpptr++) { - if( *tmpptr == '\\' || *tmpptr == '/') + if ( *tmpptr == '\\' || *tmpptr == '/') { lastslash = tmpptr; } } - if( lastslash != NULL ) + if ( lastslash != NULL ) { savefilenameinzip = lastslash+1; // base filename follows last slash. } |