Move TT_VALID to the only place it is used.
SVN revision: 9336
This commit is contained in:
parent
f86ea296e0
commit
22dd3a6bf6
|
@ -170,7 +170,6 @@ extern Drawable vIcDrw;
|
|||
#define DEFAULT_LINKCOLOR_G 50
|
||||
#define DEFAULT_LINKCOLOR_B 160
|
||||
|
||||
#define TT_VALID( handle ) ( ( handle ).z != NULL )
|
||||
#ifndef MAX
|
||||
#define MAX(a,b) ((a)>(b)?(a):(b))
|
||||
#endif
|
||||
|
|
|
@ -119,6 +119,8 @@ Efont_extents(Efont * f, char *text, int *font_ascent_return,
|
|||
|
||||
#else /* USE_IMLIB1 */
|
||||
|
||||
#define TT_VALID( handle ) ( ( handle ).z != NULL )
|
||||
|
||||
#if TEST_TTFONT
|
||||
#undef XSync
|
||||
#undef IC_RenderDepth
|
||||
|
|
1
src/E.h
1
src/E.h
|
@ -299,7 +299,6 @@ int Esnprintf(va_alist);
|
|||
#define N_(String) (String)
|
||||
#endif
|
||||
|
||||
#define TT_VALID( handle ) ( ( handle ).z != NULL )
|
||||
#ifndef MAX
|
||||
#define MAX(a,b) ((a)>(b)?(a):(b))
|
||||
#endif
|
||||
|
|
|
@ -119,6 +119,8 @@ Efont_extents(Efont * f, char *text, int *font_ascent_return,
|
|||
|
||||
#else /* USE_IMLIB1 */
|
||||
|
||||
#define TT_VALID( handle ) ( ( handle ).z != NULL )
|
||||
|
||||
#if TEST_TTFONT
|
||||
#undef XSync
|
||||
#undef IC_RenderDepth
|
||||
|
|
Loading…
Reference in New Issue