diff --git a/src/robotjs.cc b/src/robotjs.cc index 924de5b0..d0e77709 100644 --- a/src/robotjs.cc +++ b/src/robotjs.cc @@ -777,7 +777,7 @@ NAN_METHOD(getColor) } color = MMRGBHexAtPoint(bitmap, x, y); - + char hex[7]; padHex(color, hex);