Skip to content

Commit

Permalink
Space before comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed May 15, 2016
1 parent cea1cae commit e2ff6cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/robotjs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -793,15 +793,15 @@ NAN_METHOD(saveBitmap)
MMBitmapRef bitmap;
MMImageType type = kBMPImageType;

//Get our image object from JavaScript.
// Get our image object from JavaScript.
BMP img = buildBMP(Nan::To<v8::Object>(info[0]).ToLocalChecked());

char *path;
Nan::Utf8String string(info[1]);

path = *string;

//Create the bitmap.
// Create the bitmap.
bitmap = createMMBitmap(img.image, img.width, img.height, img.byteWidth, img.bitsPerPixel, img.bytesPerPixel);

if (saveMMBitmapToFile(bitmap, path, type) != 0) {
Expand Down

0 comments on commit e2ff6cd

Please sign in to comment.