* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.
This commit is contained in:
parent
452e5c7297
commit
b945228cb6
|
@ -1,3 +1,7 @@
|
||||||
|
2005-06-11 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.
|
||||||
|
|
||||||
2005-06-10 Christopher Faylor <cgf@timesys.com>
|
2005-06-10 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to
|
* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to
|
||||||
|
|
|
@ -383,7 +383,7 @@ fhandler_console::read (void *pv, size_t& buflen)
|
||||||
an ASCII control character, interpret is as META. */
|
an ASCII control character, interpret is as META. */
|
||||||
meta = (control_key_state & ALT_PRESSED) != 0
|
meta = (control_key_state & ALT_PRESSED) != 0
|
||||||
&& ((control_key_state & CTRL_PRESSED) == 0
|
&& ((control_key_state & CTRL_PRESSED) == 0
|
||||||
|| (ich >= 0 && ich <= 0x1f || ich == 0x7f));
|
|| ((signed char) ich >= 0 && ich <= 0x1f || ich == 0x7f));
|
||||||
else
|
else
|
||||||
/* Win9x: there's no way to distinguish Alt from AltGr, so rely
|
/* Win9x: there's no way to distinguish Alt from AltGr, so rely
|
||||||
on dev_state->meta_mask heuristic (see fhandler_console constructor). */
|
on dev_state->meta_mask heuristic (see fhandler_console constructor). */
|
||||||
|
|
Loading…
Reference in New Issue