This commit is contained in:
Vincent Wei
2019-03-20 17:08:43 +08:00
parent d5b57e8200
commit 46a8b1768a
2 changed files with 3 additions and 4 deletions
+1
View File
@@ -2058,6 +2058,7 @@ int init_minigui_printf (int (*output_char) (int ch),
#define _WRN_PRINTF(fmt, ...) \
do { \
TCS_PURPLE (stderr); \
fprintf (stderr, "%s: ", __FUNCTION__); \
fprintf (stderr, fmt, ##__VA_ARGS__); \
TCS_NONE (stderr); \
} while (0)
+2 -4
View File
@@ -195,8 +195,7 @@ static LOGFONT* create_logfont_for_run(const TEXTRUNSINFO* runinfo,
fontname[orient_pos] = FONT_ORIENT_SIDEWAYS_LEFT;
break;
default:
_WRN_PRINTF("%s: bad orientation param: %d\n",
__FUNCTION__, run->ort);
_WRN_PRINTF("bad orientation param: %d\n", run->ort);
return NULL;
}
@@ -236,8 +235,7 @@ static void release_logfont_for_run(const TEXTRUNSINFO* runinfo,
fontname[orient_pos] = FONT_ORIENT_SIDEWAYS_LEFT;
break;
default:
_WRN_PRINTF("%s: bad orientation param: %d\n",
__FUNCTION__, run->ort);
_WRN_PRINTF("bad orientation param: %d\n", run->ort);
return;
}