Skip to content

Commit 38a4bf6

Browse files
authored
Merge pull request #59 from rumly111/master
Fix argument type for SDL_GetKeyName
2 parents 2d6a015 + 34f9543 commit 38a4bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdlkeyboard.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ type
101101
* SDL_Key
102102
*}
103103

104-
function SDL_GetKeyName(key: TSDL_ScanCode): PAnsiChar cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_GetKeyName' {$ENDIF}{$ENDIF};
104+
function SDL_GetKeyName(key: TSDL_KeyCode): PAnsiChar cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_GetKeyName' {$ENDIF}{$ENDIF};
105105

106106
{**
107107
* Get a key code from a human-readable name

0 commit comments

Comments
 (0)