From 6ad5649b6c858d0b8ebe10fbff0b527de0ca615f Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Mon, 1 Mar 2010 15:27:56 +0200 Subject: no comment. --- src/corelib/x11/fpg_x11.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/corelib') diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas index 054f71c0..a5f37593 100644 --- a/src/corelib/x11/fpg_x11.pas +++ b/src/corelib/x11/fpg_x11.pas @@ -748,10 +748,9 @@ begin if InputMethod = nil then Exit; - InputContext := XCreateIC(InputMethod, [XNInputStyle, XIMPreeditNothing or XIMStatusNothing, 0]); + InputContext := XCreateIC(InputMethod, [XNInputStyle, XIMPreeditNothing or XIMStatusNothing, nil]); if InputContext = nil then Exit; - FIsInitialized := True; xapplication := TfpgApplication(self); end; -- cgit v1.2.3-70-g09d2