diff --git a/windows/src/developer/TIKE/compile/CompileKeymanWeb.pas b/windows/src/developer/TIKE/compile/CompileKeymanWeb.pas index a7fca8e3e5..4705e4d0cc 100644 --- a/windows/src/developer/TIKE/compile/CompileKeymanWeb.pas +++ b/windows/src/developer/TIKE/compile/CompileKeymanWeb.pas @@ -2233,7 +2233,7 @@ function TCompileKeymanWeb.FormatKeyAsString(key: Integer): string; begin if (key <= 255) and (KMWVKeyNames[key] <> '') then Result := 'keyCodes.'+KMWVKeyNames[key]+ ' /* 0x' + IntToHex(key, 2) + ' */' - else Result := IntToHex(key, 2); + else Result := '0x' + IntToHex(key, 2); end; /// diff --git a/windows/src/test/web-chirality/web-chirality.kpj.user b/windows/src/test/web-chirality/web-chirality.kpj.user new file mode 100644 index 0000000000..a304f2efb8 --- /dev/null +++ b/windows/src/test/web-chirality/web-chirality.kpj.user @@ -0,0 +1,33 @@ + + + file:///C:/Projects/keyman/open/windows/src/developer/TIKE/xml/project/ + file:///C:/Projects/keyman/open/windows/src/developer/TIKE/xml/project/ + + + + id_7aa90ee616d809ba35375f207edda587 + C:\Projects\keyman\open\windows\src\test\web-chirality\test_nonchiral.kmn + False + + + id_65caa3e7a6673c665d87e82bfaa8a150 + C:\Projects\keyman\open\windows\src\test\web-chirality\test_nonchiral_partial.kmn + + 0 + 1 + Courier New|12| |0 + Courier New|12| |0 + Courier New|12| |0 + + False + + + + + id_MRU0 + test_nonchiral_partial.kmn + .kmn + C:\Projects\keyman\open\windows\src\test\web-chirality\test_nonchiral_partial.kmn + + +