Skip to content

Commit

Permalink
Fix key state error.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Oct 12, 2015
1 parent d2faaf0 commit 1526cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robotjs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ NAN_METHOD(keyToggle)
}
else
{
return Nan::ThrowError("Invalid mouse button state specified.");
return Nan::ThrowError("Invalid key state specified.");
}
}

Expand Down

0 comments on commit 1526cf3

Please sign in to comment.