Ticket #1857: picadj.diff

File picadj.diff, 476 bytes (added by mythdev@…, 15 years ago)

Fix for picture adjustment - was precedence error

  • mythtv/libs/libmythtv/videooutbase.cpp

     
    960960    if (curVal < 0)
    961961        return -1;
    962962
    963     int newVal = curVal + (direction) ? +1 : -1;
     963    int newVal = curVal + (direction? +1 : -1);
    964964
    965965    if (kPictureAttribute_Hue == attributeType)
    966966        newVal = newVal % 100;