Kaydet (Commit) a3703190 authored tarafından Khaled Hosny's avatar Khaled Hosny

Reduce #ifdef #else a bit

Change-Id: I888681b01e82b72ce1ed9836ddf541c543747971
üst 2e87fa36
...@@ -216,11 +216,9 @@ struct SystemFontData ...@@ -216,11 +216,9 @@ struct SystemFontData
#if defined( WNT ) #if defined( WNT )
HFONT hFont; // native font object HFONT hFont; // native font object
#elif defined( MACOSX ) #elif defined( MACOSX )
#ifdef ENABLE_CORETEXT #ifndef ENABLE_CORETEXT
#else
void* aATSUFontID; // native font object void* aATSUFontID; // native font object
#endif #endif
#elif defined( IOS )
#elif defined( UNX ) #elif defined( UNX )
void* nFontId; // native font id void* nFontId; // native font id
int nFontFlags; // native font flags int nFontFlags; // native font flags
...@@ -235,11 +233,9 @@ struct SystemFontData ...@@ -235,11 +233,9 @@ struct SystemFontData
#if defined( WNT ) #if defined( WNT )
, hFont( 0 ) , hFont( 0 )
#elif defined( MACOSX ) #elif defined( MACOSX )
#ifdef ENABLE_CORETEXT #ifndef ENABLE_CORETEXT
#else
, aATSUFontID( NULL ) , aATSUFontID( NULL )
#endif #endif
#elif defined( IOS )
#elif defined( UNX ) #elif defined( UNX )
, nFontId( NULL ) , nFontId( NULL )
, nFontFlags( 0 ) , nFontFlags( 0 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment