From feb796b434d370c5d6a33b806fef6896095003ca Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Thu, 9 Oct 2014 16:41:45 +0200 Subject: [PATCH] fixed output of UTF-8 character for level sketch brushes --- src/conftime.h | 2 +- src/editor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conftime.h b/src/conftime.h index 6199c5b8..ac6e95e0 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "2014-10-09 16:18" +#define COMPILE_DATE_STRING "2014-10-09 16:40" diff --git a/src/editor.c b/src/editor.c index 271cd2b1..466231ec 100644 --- a/src/editor.c +++ b/src/editor.c @@ -10074,7 +10074,7 @@ static void CopyBrushExt(int from_x, int from_y, int to_x, int to_y, else if (element >= NUM_FILE_ELEMENTS) element_mapped = EL_UNKNOWN; - printf("%c%03d", (mode == CB_DUMP_BRUSH ? '`' : '¸'), element_mapped); + printf("%s%03d", (mode == CB_DUMP_BRUSH ? "`" : "¸"), element_mapped); } printf("\n"); -- 2.34.1