Skip to content

Commit 72a4e94

Browse files
committed
Spaces to tabs.
1 parent 0ba1797 commit 72a4e94

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/robotjs.cc

+12-12
Original file line numberDiff line numberDiff line change
@@ -323,28 +323,28 @@ NAN_METHOD(keyTap)
323323

324324
if (f)
325325
{
326-
switch(CheckKeyFlags(f, &flags))
326+
switch(CheckKeyFlags(f, &flags))
327327
{
328-
case -1:
328+
case -1:
329329
return NanThrowError("Null pointer in key flag.");
330330
break;
331-
case -2:
331+
case -2:
332332
return NanThrowError("Invalid key flag specified.");
333333
break;
334334
}
335-
}
335+
}
336336

337337
switch(CheckKeyCodes(k, &key))
338338
{
339-
case -1:
340-
return NanThrowError("Null pointer in key code.");
341-
break;
339+
case -1:
340+
return NanThrowError("Null pointer in key code.");
341+
break;
342342
case -2:
343-
return NanThrowError("Invalid key code specified.");
344-
break;
345-
default:
346-
tapKeyCode(key, flags);
347-
mssleep(10);
343+
return NanThrowError("Invalid key code specified.");
344+
break;
345+
default:
346+
tapKeyCode(key, flags);
347+
mssleep(10);
348348
}
349349

350350
NanReturnValue(NanNew("1"));

0 commit comments

Comments
 (0)