aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-07-08 16:06:25 +0800
committercrupest <crupest@outlook.com>2020-07-08 16:06:25 +0800
commit47b976c02c0960111165633d1331adc8fe07abfd (patch)
treea9094eb755ce3bdf17e44dd06622346efcac5c60 /src
parentb0ca583b6b46c866f9541352e73ca2361d7e398b (diff)
downloadcru-47b976c02c0960111165633d1331adc8fe07abfd.tar.gz
cru-47b976c02c0960111165633d1331adc8fe07abfd.tar.bz2
cru-47b976c02c0960111165633d1331adc8fe07abfd.zip
...
Diffstat (limited to 'src')
-rw-r--r--src/common/CMakeLists.txt1
-rw-r--r--src/win/native/InputMethod.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 6a18ef2b..e0d3547b 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -7,6 +7,7 @@ target_sources(cru_base PUBLIC
${CRU_BASE_INCLUDE_DIR}/Base.hpp
${CRU_BASE_INCLUDE_DIR}/Bitmask.hpp
${CRU_BASE_INCLUDE_DIR}/Event.hpp
+ ${CRU_BASE_INCLUDE_DIR}/FormatOStream.hpp
${CRU_BASE_INCLUDE_DIR}/Logger.hpp
${CRU_BASE_INCLUDE_DIR}/PreConfig.hpp
${CRU_BASE_INCLUDE_DIR}/SelfResolvable.hpp
diff --git a/src/win/native/InputMethod.cpp b/src/win/native/InputMethod.cpp
index f9a40ab4..21681de2 100644
--- a/src/win/native/InputMethod.cpp
+++ b/src/win/native/InputMethod.cpp
@@ -264,8 +264,8 @@ void WinInputMethodContext::OnWindowNativeMessage(
case WM_IME_COMPOSITION: {
composition_event_.Raise(nullptr);
auto composition_text = GetCompositionText();
- // log::TagDebug(log_tag, u"WM_IME_COMPOSITION composition text:\n{}",
- // composition_text);
+ log::TagDebug(log_tag, u"WM_IME_COMPOSITION composition text:\n{}",
+ composition_text);
if (message.l_param & GCS_RESULTSTR) {
auto result_string = GetResultString();
text_event_.Raise(result_string);