Skip to content

Commit

Permalink
bugfix:reset master bmp width and height in each reflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chrox committed Nov 21, 2012
1 parent e65d920 commit d9ed4f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions koptreflow.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ void k2pdfopt_reflow_bmp(KOPTContext *kctx) {
}
bmp_free(&masterinfo->bmp);
bmp_init(&masterinfo->bmp);
masterinfo->bmp.width = 0;
masterinfo->bmp.height = 0;
wrapbmp_free(&masterinfo->wrapbmp);
wrapbmp_init(&masterinfo->wrapbmp, k2settings->dst_color);
/* Init new source bitmap */
Expand Down

0 comments on commit d9ed4f0

Please sign in to comment.