Skip to content

Commit

Permalink
Updated comments to match code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Dec 14, 2015
1 parent 1a3df83 commit d5096fe
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 @@ -471,7 +471,7 @@ int GetFlagsFromValue(v8::Handle<v8::Value> value, MMKeyFlags* flags)
{
if (!flags) return -1;

// Optionally allow an array of flag strings to be passed
//Optionally allow an array of flag strings to be passed.
if (value->IsArray())
{
v8::Handle<v8::Array> a = v8::Handle<v8::Array>::Cast(value);
Expand All @@ -489,7 +489,7 @@ int GetFlagsFromValue(v8::Handle<v8::Value> value, MMKeyFlags* flags)
return 0;
}

// If it's not an array, it should be a single string value
//If it's not an array, it should be a single string value.
return GetFlagsFromString(value, flags);
}

Expand Down

0 comments on commit d5096fe

Please sign in to comment.