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:
		
				
					committed by
					
						
						Alexander Larsson
					
				
			
			
				
	
			
			
			
						parent
						
							44a09c3746
						
					
				
				
					commit
					3944c2dbfc
				
			@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					2000-12-22  Alexander Larsson  <alexl@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
 | 
				
			||||||
 | 
						Don't use isprint() for chars > 255.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
					2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* tests/testtreeview.c: more work
 | 
						* tests/testtreeview.c: more work
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					2000-12-22  Alexander Larsson  <alexl@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
 | 
				
			||||||
 | 
						Don't use isprint() for chars > 255.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
					2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* tests/testtreeview.c: more work
 | 
						* tests/testtreeview.c: more work
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					2000-12-22  Alexander Larsson  <alexl@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
 | 
				
			||||||
 | 
						Don't use isprint() for chars > 255.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
					2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* tests/testtreeview.c: more work
 | 
						* tests/testtreeview.c: more work
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					2000-12-22  Alexander Larsson  <alexl@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
 | 
				
			||||||
 | 
						Don't use isprint() for chars > 255.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
					2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* tests/testtreeview.c: more work
 | 
						* tests/testtreeview.c: more work
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					2000-12-22  Alexander Larsson  <alexl@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
 | 
				
			||||||
 | 
						Don't use isprint() for chars > 255.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
					2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* tests/testtreeview.c: more work
 | 
						* tests/testtreeview.c: more work
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					2000-12-22  Alexander Larsson  <alexl@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
 | 
				
			||||||
 | 
						Don't use isprint() for chars > 255.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
					2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* tests/testtreeview.c: more work
 | 
						* tests/testtreeview.c: more work
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					2000-12-22  Alexander Larsson  <alexl@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
 | 
				
			||||||
 | 
						Don't use isprint() for chars > 255.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
					2000-12-21  Havoc Pennington  <hp@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* tests/testtreeview.c: more work
 | 
						* tests/testtreeview.c: more work
 | 
				
			||||||
 | 
				
			|||||||
@ -808,7 +808,7 @@ xlate_io (GIOChannel *gioc,
 | 
				
			|||||||
	  dummy[0] = keycode;
 | 
						  dummy[0] = keycode;
 | 
				
			||||||
	  dummy[1] = 0;
 | 
						  dummy[1] = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	  len = isprint (keycode) ? 1 : 0;
 | 
						  len = ((keycode < 255) && isprint (keycode)) ? 1 : 0;
 | 
				
			||||||
	  gdk_fb_handle_key (keycode,
 | 
						  gdk_fb_handle_key (keycode,
 | 
				
			||||||
			     keycode,
 | 
								     keycode,
 | 
				
			||||||
			     modifier,
 | 
								     modifier,
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user