Commit a7938107ae03438d5b8cec5dc4a86f4d5a374f6f

Ozkan Sezer 2021-03-06T11:28:04

fix SDLK_DELETE after commit 2f5beac190d

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/SDL_keycode.h b/include/SDL_keycode.h
index c0438bd..4fb0d39 100644
--- a/include/SDL_keycode.h
+++ b/include/SDL_keycode.h
@@ -147,7 +147,7 @@ typedef enum
     SDLK_INSERT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_INSERT),
     SDLK_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HOME),
     SDLK_PAGEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEUP),
-    SDLK_DELETE = '\x1F',
+    SDLK_DELETE = '\x7F',
     SDLK_END = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_END),
     SDLK_PAGEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEDOWN),
     SDLK_RIGHT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RIGHT),