Ok, now RenderBox.cpp actually compiles for me.
[WebKit-https.git] / WebKitWin / WebView.cpp
index b4ae84d28d114aecd33f0235b62aba613f0f832b..86eed39b5fbafdcf1996beb071020967f6488dc5 100644 (file)
@@ -288,7 +288,8 @@ LRESULT CALLBACK WebViewWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l
     case WM_CHAR: {
         // FIXME: We need to use WM_UNICHAR to support international text.
         if (nextCharIsInputText) {
-            TypingCommand::insertText(webview->mainFrame()->toPrivate()->impl()->document(), QChar(wParam), false);
+            UChar c = wParam;
+            TypingCommand::insertText(webview->mainFrame()->toPrivate()->impl()->document(), String(&c, 1), false);
             nextCharIsInputText = false;
         }
         break;