Index: core/fxge/win32/dwrite_int.h |
diff --git a/core/fxge/win32/dwrite_int.h b/core/fxge/win32/dwrite_int.h |
index 60cc981a48f4951ec850aefe0593c47ddb8d7f64..f49fda44dd2916b556bf26555338fbbd6430162c 100644 |
--- a/core/fxge/win32/dwrite_int.h |
+++ b/core/fxge/win32/dwrite_int.h |
@@ -34,7 +34,7 @@ class CDWriteExt { |
void Load(); |
void Unload(); |
- FX_BOOL IsAvailable() { return m_pDWriteFactory != NULL; } |
+ FX_BOOL IsAvailable() { return !!m_pDWriteFactory; } |
void* DwCreateFontFaceFromStream(uint8_t* pData, |
uint32_t size, |