From 94735c823bf5d5a574b27564ba50ba06f5684a35 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Fri, 9 Aug 2024 01:54:37 +0800 Subject: [PATCH] Use simpler log for note2 --- include/chsrc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/chsrc.h b/include/chsrc.h index 9fe98b4..fb6fbf6 100644 --- a/include/chsrc.h +++ b/include/chsrc.h @@ -51,8 +51,7 @@ void chsrc_note2 (const char* str) { - char *prompt = xy_2strjoin (to_yellow (App_Name " "), to_boldyellow ("提示")); - xy_log_brkt_to (prompt, to_yellow (str), stdout); + xy_log_brkt (to_yellow (App_Name), to_boldyellow ("提示"), to_yellow (str)); }