From 75fcbeff7b490dd7b63831860c83fcfecabe7adb Mon Sep 17 00:00:00 2001 From: fxliang Date: Fri, 5 Jul 2024 21:37:21 +0800 Subject: [PATCH] fix: typo of assert object --- RimeWithWeasel/RimeWithWeasel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RimeWithWeasel/RimeWithWeasel.cpp b/RimeWithWeasel/RimeWithWeasel.cpp index 9e64b3e15..9fbdd8ef5 100644 --- a/RimeWithWeasel/RimeWithWeasel.cpp +++ b/RimeWithWeasel/RimeWithWeasel.cpp @@ -84,7 +84,7 @@ RimeWithWeaselHandler::RimeWithWeaselHandler(UI* ui) m_show_notifications_time(1200), _UpdateUICallback(NULL) { rime_api = rime_get_api(); - assert(rime); + assert(rime_api); m_pid = GetCurrentProcessId(); uint16_t msbit = 0; for (auto i = 31; i >= 0; i--) {