Skip to content

Commit

Permalink
Merge pull request #676 from sebastic/spelling-errors
Browse files Browse the repository at this point in the history
Fix spelling errors.
  • Loading branch information
Dane Springmeyer committed Aug 10, 2016
2 parents 5bd3bf1 + 8afcb2e commit 8eac772
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/mapnik_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1825,7 +1825,7 @@ NAN_METHOD(Image::resize)
}
else
{
Nan::ThrowTypeError("resize requires a width and height paramter.");
Nan::ThrowTypeError("resize requires a width and height parameter.");
return;
}
if (info.Length() >= 4)
Expand Down
2 changes: 1 addition & 1 deletion src/mapnik_projection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ NAN_METHOD(Projection::New)
}

if (info.Length() <= 0 || !info[0]->IsString()) {
Nan::ThrowTypeError("please provide a proj4 intialization string");
Nan::ThrowTypeError("please provide a proj4 initialization string");
return;
}
bool lazy = false;
Expand Down
4 changes: 2 additions & 2 deletions src/mapnik_vector_tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4880,12 +4880,12 @@ NAN_METHOD(VectorTile::render)
{
if (!set_z || !set_x || !set_y)
{
Nan::ThrowTypeError("orginal args 'z', 'x', and 'y' must all be used together");
Nan::ThrowTypeError("original args 'z', 'x', and 'y' must all be used together");
return;
}
if (closure->x < 0 || closure->y < 0 || closure->z < 0)
{
Nan::ThrowTypeError("orginal args 'z', 'x', and 'y' can not be negative");
Nan::ThrowTypeError("original args 'z', 'x', and 'y' can not be negative");
return;
}
int max_at_zoom = pow(2,closure->z);
Expand Down

0 comments on commit 8eac772

Please sign in to comment.