kopia lustrzana https://github.com/TheRealOrange/terminalvideoplayer
Add newline to arguments check fail
rodzic
8295e49485
commit
f696b9a341
|
@ -164,7 +164,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
// check if number of arguments is correct
|
// check if number of arguments is correct
|
||||||
if (argc <= 1 || strlen(argv[1]) <= 0) {
|
if (argc <= 1 || strlen(argv[1]) <= 0) {
|
||||||
printf("\u001b[0mplease provide the filename as the first input argument");
|
printf("\u001b[0mplease provide the filename as the first input argument\n");
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue