mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-24 20:01:42 +00:00
fix for broken stdout
This commit is contained in:
parent
b45370cbb4
commit
27e2bb9017
@ -182,7 +182,7 @@ int main(int argc, char *argv[])
|
||||
strcpy (ctx->basefilename, ctx->basefilename_for_network);
|
||||
break;
|
||||
}
|
||||
for (c=ctx->basefilename+strlen (ctx->basefilename)-1; ctx->basefilename &&
|
||||
for (c=ctx->basefilename+strlen (ctx->basefilename)-1; ctx->basefilename>=0 &&
|
||||
*c!='.'; c--) {;} // Get last .
|
||||
if (*c=='.')
|
||||
*c=0;
|
||||
|
Loading…
Reference in New Issue
Block a user