Commit bc4ba200 authored by Adam Blank's avatar Adam Blank
Browse files

Update bmp.c

parent 9fc2f5b3
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -144,7 +144,7 @@ image_t *bmp_convert(bmp_t *bmp) { ...@@ -144,7 +144,7 @@ image_t *bmp_convert(bmp_t *bmp) {
} }
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
if (argc != 3 || (strcmp(argv[1], "read") != 0 && strcmp(argv[1], "write"))) { if (argc != 3 || (strcmp(argv[1], "read") != 0 && strcmp(argv[1], "write") != 0)) {
fprintf(stderr, "USAGE: %s read|write <bmp filepath>\n", argv[0]); fprintf(stderr, "USAGE: %s read|write <bmp filepath>\n", argv[0]);
exit(1); exit(1);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment