Browse Source

Fix a bug in img2twit's cell allocation.

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

+ 1
- 1
examples/img2twit.cpp View File

@@ -949,7 +949,7 @@ int main(int argc, char *argv[])
}
}
while((dh + 1) * dw <= TOTAL_CELLS) dh++;
while(dw * (dh + 1) <= TOTAL_CELLS) dw++;
while(dh * (dw + 1) <= TOTAL_CELLS) dw++;

/* Print debug information */
if(DEBUG_MODE)


Loading…
Cancel
Save