Changeset 3525 for libpipi


Ignore:
Timestamp:
May 25, 2009, 9:05:13 AM (11 years ago)
Author:
Sam Hocevar
Message:

Allow for non-integer quality values in img2twit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/examples/img2twit.cpp

    r3524 r3525  
    833833            break;
    834834        case 'q':
    835             ITERATIONS_PER_POINT = 10 * atoi(myoptarg);
     835            ITERATIONS_PER_POINT = 10 * atof(myoptarg);
    836836            if(ITERATIONS_PER_POINT < 0)
    837837                ITERATIONS_PER_POINT = 0;
Note: See TracChangeset for help on using the changeset viewer.