From 5b741ecbfd85b993f16de16159992c6a0eccd777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 12 Jun 2006 23:18:29 +0000 Subject: [PATCH] Fixed warning. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17807 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Window.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kits/interface/Window.cpp b/src/kits/interface/Window.cpp index 86ebce39ed..7ef699625f 100644 --- a/src/kits/interface/Window.cpp +++ b/src/kits/interface/Window.cpp @@ -2718,10 +2718,10 @@ BWindow::_SetFocus(BView *focusView, bool notifyInputServer) // from a view which has the B_INPUT_METHOD_AWARE to a one // which does not, or vice-versa if (notifyInputServer) { - bool oldIMAware = false, newIMAware = false; + bool inputMethodAware = false; if (focusView) - newIMAware = focusView->Flags() & B_INPUT_METHOD_AWARE; - BMessage msg(newIMAware ? IS_FOCUS_IM_AWARE_VIEW : IS_UNFOCUS_IM_AWARE_VIEW); + inputMethodAware = focusView->Flags() & B_INPUT_METHOD_AWARE; + BMessage msg(inputMethodAware ? IS_FOCUS_IM_AWARE_VIEW : IS_UNFOCUS_IM_AWARE_VIEW); BMessenger messenger(focusView); BMessage reply; if (focusView)