Update web/source/text/defaultOutput.ts

Co-Authored-By: Marc Durdin <marc@durdin.net>
This commit is contained in:
Joshua Horton 2020-03-24 13:19:08 +07:00 committed by GitHub
parent 3e45445900
commit fa8a249c60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ namespace com.keyman.text {
var char = '';
// A pretty simple table of lookups, corresponding VERY closely to the original defaultKeyOutput.
if(char = DefaultOutput.forSpecialEmulation(Lkc)) {
if((char = DefaultOutput.forSpecialEmulation(Lkc)) !== '') {
return char;
} else if(!isMnemonic && (char = DefaultOutput.forNumpadKeys(Lkc))) {
return char;
@ -244,4 +244,4 @@ namespace com.keyman.text {
return '';
}
}
}
}