We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ea570 commit 04ccb47Copy full SHA for 04ccb47
src/ccextractor.c
@@ -182,7 +182,8 @@ int main(int argc, char *argv[])
182
strcpy (ctx->basefilename, ctx->basefilename_for_network);
183
break;
184
}
185
- for (c=ctx->basefilename+strlen (ctx->basefilename)-1; ctx->basefilename>=0 &&
+
186
+ for (c = ctx->basefilename + strlen(ctx->basefilename) - 1; c>ctx->basefilename &&
187
*c!='.'; c--) {;} // Get last .
188
if (*c=='.')
189
*c=0;
0 commit comments