Browse Source

Allow for non-integer quality values in img2twit.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3525 92316355-f0b4-4df1-b90c-862c8a59935f
master
sam 15 years ago
parent
commit
014e889fe0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/img2twit.cpp

+ 1
- 1
examples/img2twit.cpp View File

@@ -832,7 +832,7 @@ int main(int argc, char *argv[])
}
break;
case 'q':
ITERATIONS_PER_POINT = 10 * atoi(myoptarg);
ITERATIONS_PER_POINT = 10 * atof(myoptarg);
if(ITERATIONS_PER_POINT < 0)
ITERATIONS_PER_POINT = 0;
else if(ITERATIONS_PER_POINT > 100)


Loading…
Cancel
Save