Skip to content

Commit

Permalink
fix uninitialized variable (reported by Domenico Ferrari)
Browse files Browse the repository at this point in the history
  • Loading branch information
tony2001 committed Apr 11, 2012
1 parent 0d7edeb commit 67907d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hpdf_gstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ HPDF_GState_New (HPDF_MMgr mmgr,

gstate->font = current->font;
gstate->font_size = current->font_size;
gstate->writing_mode = current->writing_mode;

gstate->prev = current;
gstate->depth = current->depth + 1;
Expand Down

0 comments on commit 67907d0

Please sign in to comment.