mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 08:32:07 +08:00
Some minor improvements for the Mac keyboard mapping: accent-space would under some cicumstances add an extra space; tilde-space would add a 'funny' tilde from far up un the MacRoman font, not the ASCII tilde as expected.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+6
-1
@@ -46,7 +46,7 @@ static const char* const compose_pairs =
|
||||
"? ! !!v-f ~~Dt<<>>.. `A~A~OOEoe"
|
||||
"- --''``\"'\"`:-^V:y:Y//E=< > fifl"
|
||||
"++..,,_\"%%^A^E'A:E`E'I^I:I`I'O^O"
|
||||
"mc`O'U^U`U||^ ~ _ u . * , ~ ; v ";
|
||||
"mc`O'U^U`U||^ ~^_ u . * , ~-; v ";
|
||||
|
||||
#else
|
||||
|
||||
@@ -142,6 +142,11 @@ int Fl::compose(int& del) {
|
||||
e_text[0] = 0xf6;
|
||||
return 1;
|
||||
}
|
||||
if (ascii==' ') {
|
||||
del = 0;
|
||||
compose_state = 0;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
// now search for the pair in either order:
|
||||
for (const char *p = compose_pairs; *p; p += 2) {
|
||||
|
||||
Reference in New Issue
Block a user