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