Fixed bug issue #4 (forgotten case of DATE_TIME_ORIGINAL is absent).

main
Alexander Vdolainen 1 year ago
parent 0caca3fdf5
commit 298e1d13be

@ -208,10 +208,22 @@ int main(int argc, char **argv)
} }
break; break;
case EDT_MODIFY_ED: case EDT_MODIFY_ED:
fprintf(stdout, "modify\n");
break; break;
} }
} else fprintf(stdout, "%s: No date and time information exists in exif.\n", } else fprintf(stdout, "%s: No date and time information exists in exif.\n",
fn_name[i]); fn_name[i]);
} else {
switch(mode) {
case EDT_DISPLAY:
case EDT_MODIFY_FO:
fprintf(stdout, "%s: No time date information found in EXIF.\n",
fn_name[i]);
break;
case EDT_MODIFY_ED:
fprintf(stdout, "modify\n");
break;
}
} }
exif_data_unref(ef); exif_data_unref(ef);
} }

Loading…
Cancel
Save