]> mj.ucw.cz Git - libucw.git/commitdiff
- 0x08 (BACKSPACE) is a blank character and it is accepted as an ASCII-character
authorRobert Spalek <robert@ucw.cz>
Mon, 19 Apr 2004 16:41:45 +0000 (16:41 +0000)
committerRobert Spalek <robert@ucw.cz>
Mon, 19 Apr 2004 16:41:45 +0000 (16:41 +0000)
- 0x7f is also accepted as an ASCII-character
- both gather/content.c and gather/charset.c now use the same function
  Cblank() to test it

lib/charmap.h

index 21836a0de798a394738e7474831bc00853cf895b..c4ba3cbe7c43f874b96c351c24b0bd281a93a678 100644 (file)
@@ -18,7 +18,7 @@ CHAR(0x04,0x04,0x04,_C_CTRL)                          //      <control>
 CHAR(0x05,0x05,0x05,_C_CTRL)                           //      <control>
 CHAR(0x06,0x06,0x06,_C_CTRL)                           //      <control>
 CHAR(0x07,0x07,0x07,_C_CTRL)                           //      <control>
-CHAR(0x08,0x08,0x08,_C_CTRL)                           //      <control>
+CHAR(0x08,0x08,0x08,_C_CTRL | _C_BLANK)                        //      <control>
 CHAR(0x09,0x09,0x09,_C_CTRL | _C_BLANK | _C_PRINT)     //      <control>
 CHAR(0x0A,0x0A,0x0A,_C_CTRL | _C_BLANK)                        //      <control>
 CHAR(0x0B,0x0B,0x0B,_C_CTRL)                           //      <control>