From 72baad3116cc3ebfdb213dddd77f00e615c9521f Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Sun, 22 Oct 2023 21:08:14 +0200
Subject: [PATCH] DLL: Correct formatiing for dll debug output

---
 lektord/c/module_qt_window.cc | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lektord/c/module_qt_window.cc b/lektord/c/module_qt_window.cc
index ef4dab0b..18697e14 100644
--- a/lektord/c/module_qt_window.cc
+++ b/lektord/c/module_qt_window.cc
@@ -44,11 +44,8 @@ mod_new(void UNUSED *func_ptrs)
     {                                                                   \
         struct lkt_func_ptrs *ptrs = (struct lkt_func_ptrs *)func_ptrs; \
         __imp_##name               = ptrs->name;                        \
-        LOG_INFO("DLL", #name " := %p\n", __imp_##name);                \
+        LOG_INFO("DLL", #name " := %p", __imp_##name);                  \
     }
-    fprintf(
-        stderr,
-        "loading the lektor_c.dll, init the pointers to reuse functionalities from executable\n");
     IMPORT_FUNCTION(___lkt_log_rs);
     IMPORT_FUNCTION(___lkt_abort);
     IMPORT_FUNCTION(lkt_toggle_play_state);
-- 
GitLab