Skip to content

Commit

Permalink
Another warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Nov 9, 2010
1 parent c5a7c54 commit 9733e8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CanvasRenderingContext2d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ Context2d::Context2d(Canvas *canvas): ObjectWrap() {
_context = cairo_create(canvas->getSurface());
cairo_set_line_width(_context, 1);
state = states[stateno = 0] = (canvas_state_t *) malloc(sizeof(canvas_state_t));
state->shadowBlur = state->shadowOffsetX = state->shadowOffsetY = 0;
state->shadowBlur = 0;
state->shadowOffsetX = state->shadowOffsetY = 0;
state->globalAlpha = 1;
state->textAlignment = -1;
state->fillPattern = state->strokePattern = NULL;
Expand Down

0 comments on commit 9733e8e

Please sign in to comment.