From c0b89ac5bfb90835ef01573267020e42d4fe070c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 23 Aug 2015 12:17:05 +0200 Subject: Imported Upstream version 1.8.0 --- profile/kodak2ti3.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 profile/kodak2ti3.c (limited to 'profile/kodak2ti3.c') diff --git a/profile/kodak2ti3.c b/profile/kodak2ti3.c old mode 100644 new mode 100755 index 53278e1..b510719 --- 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(); -- cgit v1.2.3