wok-current annotate rawstudio/stuff/rawstudio-const.patch @ rev 6940

Up: slitaz-mercurial-style (2.1) with correct logo
author Christophe Lincoln <pankso@slitaz.org>
date Sun Oct 24 22:52:43 2010 +0200 (2010-10-24)
parents
children
rev   line source
slaxemulator@6514 1 diff -Nur rawstudio-1.2.orig/src/dcraw.cc rawstudio-1.2/src/dcraw.cc
slaxemulator@6514 2 --- rawstudio-1.2.orig/src/dcraw.cc 2009-04-10 00:21:45.000000000 +0300
slaxemulator@6514 3 +++ rawstudio-1.2/src/dcraw.cc 2009-07-16 00:05:28.169155134 +0300
slaxemulator@6514 4 @@ -8510,7 +8510,7 @@
slaxemulator@6514 5 argv[argc] = "";
slaxemulator@6514 6 for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) {
slaxemulator@6514 7 opt = argv[arg++][1];
slaxemulator@6514 8 - if ((cp = strchr (sp="nbrkStqmHACg", opt)))
slaxemulator@6514 9 + if ((cp = (char *)strchr (sp="nbrkStqmHACg", opt)))
slaxemulator@6514 10 for (i=0; i < "114111111422"[cp-sp]-'0'; i++)
slaxemulator@6514 11 if (!isdigit(argv[arg+i][0])) {
slaxemulator@6514 12 dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt);