Fix the issue with windows keys acting like 0 and ,

This commit is contained in:
Allen Webster 2019-10-27 18:15:42 -07:00
parent cd24295e8e
commit e64f0ba026
2 changed files with 3 additions and 4 deletions

View File

@ -693,7 +693,6 @@ get_fancy_block_dim(Application_Links *app, Face_ID face, Fancy_Block *block){
function void
draw_fancy_block(Application_Links *app, Face_ID face, FColor fore,
Fancy_Block *block, Vec2_f32 p, u32 flags, Vec2_f32 delta){
Face_Metrics metrics = get_face_metrics(app, face);
for (Fancy_Line *node = block->first;
node != 0;
node = node->next){

View File

@ -624,7 +624,7 @@ global Key_Code keycode_lookup_table[255];
internal void
win32_keycode_init(void){
for (u32 i = 'A'; i <= 'z'; i += 1){
for (u32 i = 'A'; i <= 'Z'; i += 1){
keycode_lookup_table[i] = KeyCode_A + i - 'A';
}
for (u32 i = '0'; i <= '9'; i += 1){