forked from e16/e16
1
0
Fork 0

Move TT_VALID to the only place it is used.

SVN revision: 9336
This commit is contained in:
Kim Woelders 2004-03-11 23:28:57 +00:00
parent f86ea296e0
commit 22dd3a6bf6
4 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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