Don't use isprint() for chars > 255.

2000-12-22  Alexander Larsson  <alexl@redhat.com>

	* gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
	Don't use isprint() for chars > 255.
This commit is contained in:
Alexander Larsson
2000-12-22 12:33:07 +00:00
committed by Alexander Larsson
parent 44a09c3746
commit 3944c2dbfc
8 changed files with 36 additions and 1 deletions

View File

@ -808,7 +808,7 @@ xlate_io (GIOChannel *gioc,
dummy[0] = keycode;
dummy[1] = 0;
len = isprint (keycode) ? 1 : 0;
len = ((keycode < 255) && isprint (keycode)) ? 1 : 0;
gdk_fb_handle_key (keycode,
keycode,
modifier,