Changeset 3524


Ignore:
Timestamp:
May 25, 2009, 8:50:53 AM (12 years ago)
Author:
Sam Hocevar
Message:

Fix a bug in img2twit's cell allocation.

File:
1 edited

Legend:

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

    r3523 r3524  
    950950    }
    951951    while((dh + 1) * dw <= TOTAL_CELLS) dh++;
    952     while(dw * (dh + 1) <= TOTAL_CELLS) dw++;
     952    while(dh * (dw + 1) <= TOTAL_CELLS) dw++;
    953953
    954954    /* Print debug information */
Note: See TracChangeset for help on using the changeset viewer.