[Bf-blender-cvs] [b5cf3cd] input_method_editor: Cleanup: Moar whitespace cleanup, plus remove missed printf

Severin noreply at git.blender.org
Mon Nov 24 00:45:52 CET 2014


Commit: b5cf3cd415b815e335713232339aa7d71ba25ae7
Author: Severin
Date:   Tue Nov 18 15:57:03 2014 +0100
Branches: input_method_editor
https://developer.blender.org/rBb5cf3cd415b815e335713232339aa7d71ba25ae7

Cleanup: Moar whitespace cleanup, plus remove missed printf

Hope that was the last cleanup commit for now :/

===================================================================

M	intern/ghost/intern/GHOST_ImeWin32.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_ImeWin32.cpp b/intern/ghost/intern/GHOST_ImeWin32.cpp
index 21e842a..3569af5 100644
--- a/intern/ghost/intern/GHOST_ImeWin32.cpp
+++ b/intern/ghost/intern/GHOST_ImeWin32.cpp
@@ -208,10 +208,10 @@ void GHOST_ImeWin32::CleanupComposition(HWND window_handle)
 
 void GHOST_ImeWin32::CheckFirst(HWND window_handle)
 {
-	if (is_first) {
-		this->EndIME(window_handle);
-		is_first = false;
-	}
+    if (is_first) {
+        this->DisableIME(window_handle);
+        is_first = false;
+    }
 }
 
 
@@ -428,7 +428,7 @@ void GHOST_ImeWin32::EndIME(HWND window_handle)
 }
 
 
-void GHOST_ImeWin32::BeginIME(HWND window_handle, const GHOST_Rect &caret_rect, bool complete)
+void GHOST_ImeWin32::EnableIME(HWND window_handle, const GHOST_Rect& caret_rect, bool complete)
 {
 	if (is_enable && complete) return;
 	is_enable = true;




More information about the Bf-blender-cvs mailing list