From: Holger Schemel Date: Thu, 9 Oct 2014 14:41:45 +0000 (+0200) Subject: fixed output of UTF-8 character for level sketch brushes X-Git-Tag: 4.0.0.0-rc1~336^2~2 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=feb796b434d370c5d6a33b806fef6896095003ca;p=rocksndiamonds.git fixed output of UTF-8 character for level sketch brushes --- 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");