comparison src/gui_photon.c @ 26771:fc859aea8cec v8.2.3914

patch 8.2.3914: various spelling mistakes in comments Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Mon Dec 27 17:21:41 2021 +0000 patch 8.2.3914: various spelling mistakes in comments Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Dec 2021 18:30:05 +0100
parents 7334bf933510
children bce848ec8b1b
comparison
equal deleted inserted replaced
26770:15ff3f2e0d58 26771:fc859aea8cec
485 // Detect if a keypad number key has been pressed 485 // Detect if a keypad number key has been pressed
486 // and change the key if Num Lock is on 486 // and change the key if Num Lock is on
487 if (key->key_cap >= Pk_KP_Enter && key->key_cap <= Pk_KP_9 487 if (key->key_cap >= Pk_KP_Enter && key->key_cap <= Pk_KP_9
488 && (key->key_mods & Pk_KM_Num_Lock)) 488 && (key->key_mods & Pk_KM_Num_Lock))
489 { 489 {
490 // FIXME: For now, just map the key to a ascii value 490 // FIXME: For now, just map the key to an ascii value
491 // (see <photon/PkKeyDef.h>) 491 // (see <photon/PkKeyDef.h>)
492 ch = key->key_cap - 0xf080; 492 ch = key->key_cap - 0xf080;
493 } 493 }
494 else 494 else
495 ch = TO_SPECIAL(special_keys[i].vim_code0, 495 ch = TO_SPECIAL(special_keys[i].vim_code0,