diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:17:05 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:17:05 +0200 |
commit | c0b89ac5bfb90835ef01573267020e42d4fe070c (patch) | |
tree | 733c16852d964d84b7565af4bdaff0bcca901b88 /profile/kodak2ti3.c | |
parent | 094535c010320967639e8e86f974d878e80baa72 (diff) |
Imported Upstream version 1.8.0upstream/1.8.0
Diffstat (limited to 'profile/kodak2ti3.c')
-rwxr-xr-x[-rw-r--r--] | profile/kodak2ti3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/profile/kodak2ti3.c b/profile/kodak2ti3.c index 53278e1..b510719 100644..100755 --- a/profile/kodak2ti3.c +++ b/profile/kodak2ti3.c @@ -104,21 +104,21 @@ int main(int argc, char *argv[]) if (argv[fa][1] == '?') usage(); - else if (argv[fa][1] == 'l' || argv[fa][1] == 'L') { - fa = nfa; + else if (argv[fa][1] == 'l') { if (na == NULL) usage(); + fa = nfa; limit = atoi(na); if (limit < 1) limit = 1; } - else if (argv[fa][1] == 'r' || argv[fa][1] == 'r') { - fa = nfa; + else if (argv[fa][1] == 'r') { if (na == NULL) usage(); + fa = nfa; strcpy(tarname, na); } - else if (argv[fa][1] == 'v' || argv[fa][1] == 'V') + else if (argv[fa][1] == 'v') verb = 1; else usage(); |