app/internal/window,app/internal/xkb: silence string(int) conversion warnings

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-05-31 11:57:45 +02:00
parent d2c67cdf80
commit 4bf043eb5b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -470,7 +470,7 @@ func (w *window) HWND() (syscall.Handle, int, int) {
func convertKeyCode(code uintptr) (string, bool) {
if '0' <= code && code <= '9' || 'A' <= code && code <= 'Z' {
return string(code), true
return string(rune(code)), true
}
var r string
switch code {