Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
blackbeam committed Sep 29, 2014
1 parent 1aaac5d commit cba4fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NodePopplerPage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ namespace node {
Handle<Value> y2v = rect->ToObject()->Get(y2k);
if (!x1v->IsNumber() || !x2v->IsNumber() || !y1v->IsNumber() || !y2v->IsNumber()) {
char *e = (char*)"Wrong values for rectangle corners definition";
*error = new char(strlen(e)+1);
*error = new char[strlen(e)+1];
strcpy(*error, e);
} else {
int rotation = getRotate();
Expand Down

0 comments on commit cba4fc2

Please sign in to comment.