tweaks: elide an impossible case
Typing a Unicode code is always finished after at most six characters: either retval == uni or retval == kbinput, but it can't be ERR.master
parent
e679c518b1
commit
f33796bee1
|
@ -1284,12 +1284,6 @@ long get_unicode_kbinput(int kbinput)
|
||||||
if (retval == ERR)
|
if (retval == ERR)
|
||||||
retval = uni;
|
retval = uni;
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
/* If there are more than six digits, return this character
|
|
||||||
* as the result. (Maybe we should produce an error
|
|
||||||
* instead?) */
|
|
||||||
retval = kbinput;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If we have a result, reset the Unicode digit counter and the
|
/* If we have a result, reset the Unicode digit counter and the
|
||||||
|
|
Loading…
Reference in New Issue