Browse Source

oups again

master
tth 3 years ago
parent
commit
14dd4bd273
  1. 4
      tools/fimg2pnm.c

4
tools/fimg2pnm.c

@ -39,7 +39,7 @@ if (foo) { @@ -39,7 +39,7 @@ if (foo) {
outptr = &fimg; /* safe default value */
if (to_gray) {
puts("converting to gray...");
if (verbosity) puts("converting to gray...");
foo = fimg_create(&gris, fimg.width, fimg.height, FIMG_TYPE_GRAY);
if (foo) {
fprintf(stderr, "err create gray %d\n", foo);
@ -91,7 +91,7 @@ if (argc == 1) { @@ -91,7 +91,7 @@ if (argc == 1) {
while ((opt = getopt(argc, argv, "ghv")) != -1) {
switch(opt) {
case 'g': to_gray = 1;
case 'g': to_gray = 1; break;
case 'v': verbosity++; break;
case 'h': help(1); exit(1);
}

Loading…
Cancel
Save