Skip to content

Commit

Permalink
libgui: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Apr 13, 2013
1 parent c490fde commit 27f9a3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doomsday/libgui/src/canvas.cpp
Expand Up @@ -107,11 +107,11 @@ DENG2_PIMPL(Canvas)

static int nativeCode(QKeyEvent const *ev)
{
#if defined(UNIX) && !defined(MACOSX)
#if defined(UNIX) && !defined(MACOSX)
return ev->nativeScanCode();
#else
#else
return ev->nativeVirtualKey();
#endif
#endif
}

void handleKeyEvent(QKeyEvent *ev)
Expand Down

0 comments on commit 27f9a3f

Please sign in to comment.