public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Oacute patch
@ 2002-06-20 21:48 witek
  0 siblings, 0 replies; only message in thread
From: witek @ 2002-06-20 21:48 UTC (permalink / raw)
  To: linux-msdos

This is analogous with 'Cyrillic er'.
Oacute ALT+O (E0 in cp852 code page).
--- dosemu-1.1.3/src/plugin/kbd_unicode/serv_xlat.c.orig	Thu Jun 20 16:20:54 2002
+++ dosemu-1.1.3/src/plugin/kbd_unicode/serv_xlat.c	Thu Jun 20 19:57:10 2002
@@ -1723,8 +1723,8 @@
 	 */
 	bios_key = is_accent ? ascii : make_bios_code_r(make, key, ascii, keysym, state);
 
-	if (bios_key == 0x23e0)  /* Cyrillic_er work around */
-		bios_key &= 0x00FF;
+	if (bios_key == 0x23e0 || bios_key == 0x18e0)  /* Cyrillic_er work around */
+		bios_key &= 0x00FF;  /* ^^^^^^^^^^^^^^^^^^ Oacute */
 #if 0
 	k_printf("translate_key: keysym=%04x bios_key=%04x\n",
 		keysym, bios_key);

-- 
Witold Filipczyk <witekfl@poczta.onet.pl>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-20 21:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-20 21:48 Oacute patch witek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox