mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 15:29:45 +03:00
Added comments.
This commit is contained in:
parent
5e5975e30b
commit
12aebe1fa1
@ -334,10 +334,14 @@ void gem_set_cursor( MFORM_EX * cursor )
|
||||
long nkc_to_input_key(short nkc, long * ucs4_out)
|
||||
{
|
||||
unsigned char ascii = (nkc & 0xFF);
|
||||
nkc = (nkc & (NKF_CTRL|NKF_SHIFT|0xFF));
|
||||
long ik = 0;
|
||||
|
||||
// initialize result:
|
||||
*ucs4_out = 0;
|
||||
|
||||
// sanitize input key:
|
||||
nkc = (nkc & (NKF_CTRL|NKF_SHIFT|0xFF));
|
||||
|
||||
/* shift + cntrl key: */
|
||||
if( ((nkc & NKF_CTRL) == NKF_CTRL) && ((nkc & (NKF_SHIFT))!=0) ) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user