Fix the issue with windows keys acting like 0 and ,
This commit is contained in:
parent
cd24295e8e
commit
e64f0ba026
|
@ -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){
|
||||
|
|
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue