From cf063aad32a15f94a19548a1ffd88e1f807fa445 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Fri, 29 Mar 2019 18:31:23 +0800 Subject: [PATCH] disable debug print --- include/gdi.h | 2 -- src/font/freetype2.h | 2 -- src/font/legacy-bidi.c | 3 ++- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/gdi.h b/include/gdi.h index 8d27d8d6..8edf567e 100644 --- a/include/gdi.h +++ b/include/gdi.h @@ -12982,8 +12982,6 @@ typedef BOOL (*CB_GLYPH_LAID_OUT) (GHANDLE ctxt, * it is less than 0. This parameter is only effective when the * line extent mode of the layout object is variable. * \param last_line Whether to lay out all left characters in one line. - * \param line_size The size of the line will be returned through this - * buffer if it is not NULL. * \param cb_laid_out The callback for one laid out glyph. * \param ctxt The context will be passed to \a cb_laid_out. * This parameter is only effective when cb_laid_out is not NULL. diff --git a/src/font/freetype2.h b/src/font/freetype2.h index dbc8a926..fc7f5b30 100644 --- a/src/font/freetype2.h +++ b/src/font/freetype2.h @@ -40,8 +40,6 @@ #ifndef GUI_FREETYP2_H #define GUI_FREETYP2_H -#define TTF_DBG - #ifndef TTF_DBG #define DP(x) #else diff --git a/src/font/legacy-bidi.c b/src/font/legacy-bidi.c index 61dd3983..467eed53 100644 --- a/src/font/legacy-bidi.c +++ b/src/font/legacy-bidi.c @@ -48,7 +48,8 @@ #include "devfont.h" -#define BIDI_DEBUG +#undef BIDI_DEBUG + #include "bidi.h" #define BIDI_MAX(a,b) ((a) > (b) ? (a) : (b))