From 5c7551d2e5604fb207d1c34b9d148cf0a3bfd2f1 Mon Sep 17 00:00:00 2001 From: Stanislav Vasilev Date: Thu, 24 Oct 2024 22:47:57 +0300 Subject: [PATCH] Update MainView.cpp --- Source/MainView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/MainView.cpp b/Source/MainView.cpp index a1c6962..0fcd3af 100644 --- a/Source/MainView.cpp +++ b/Source/MainView.cpp @@ -18,19 +18,19 @@ void UntitledIBusHandwriting::MainView::begin() lib = URLL::dlopen(UIBUS_HANDWRITE_HANZI_LOOKUP_DIR"libhanzi_lookup.so"); if (lib == nullptr) { - Logger::log("Died at loading the library from Rust. Error: ", UVKLog::UVK_LOG_TYPE_ERROR, URLL::dlerror()); + Logger::log("Died at loading the library from Rust. Error: ", ULOG_LOG_TYPE_ERROR, URLL::dlerror()); UImGui::Instance::shutdown(); } if (URLL::dlsym(lib, "c_lib_main", loadData) != lib) { - Logger::log("Died at loading c_lib_main from Rust. Error: ", UVKLog::UVK_LOG_TYPE_ERROR, URLL::dlerror()); + Logger::log("Died at loading c_lib_main from Rust. Error: ", ULOG_LOG_TYPE_ERROR, URLL::dlerror()); UImGui::Instance::shutdown(); return; } if (URLL::dlsym(lib, "c_lib_main_cleanup", deallocateLoadedData) != lib) { - Logger::log("Died at loading c_lib_main_cleanup from Rust. Error: ", UVKLog::UVK_LOG_TYPE_ERROR, URLL::dlerror()); + Logger::log("Died at loading c_lib_main_cleanup from Rust. Error: ", ULOG_LOG_TYPE_ERROR, URLL::dlerror()); UImGui::Instance::shutdown(); return; }