fixed output of UTF-8 character for level sketch brushes
authorHolger Schemel <info@artsoft.org>
Thu, 9 Oct 2014 14:41:45 +0000 (16:41 +0200)
committerHolger Schemel <info@artsoft.org>
Thu, 9 Oct 2014 14:41:45 +0000 (16:41 +0200)
src/conftime.h
src/editor.c

index 6199c5b8e297ecf8d8bc2b278f2678cc9f82740b..ac6e95e0c468ecaaceafc8bc9d342f5105a52b2d 100644 (file)
@@ -1 +1 @@
-#define COMPILE_DATE_STRING "2014-10-09 16:18"
+#define COMPILE_DATE_STRING "2014-10-09 16:40"
index 271cd2b1a62fb56413cbc525c4173971cf9ae67a..466231ecca0be9c014b7c74a6641940955d2d79c 100644 (file)
@@ -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");