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 219a780 commit d4afbe4Copy full SHA for d4afbe4
src/main.cpp
@@ -48,7 +48,7 @@ int main(int argc, char *argv[])
48
MainWindow mw;
49
MainController mc(&mw);
50
51
- if ((!strcmp(argv[1],"-c")||!strcmp(argv[1],"--check")))
+ if (argc > 1 && (!strcmp(argv[1],"-c")||!strcmp(argv[1],"--check")))
52
{
53
return 0;
54
}
0 commit comments