summaryrefslogtreecommitdiff
path: root/core/fxge/win32/dwrite_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/win32/dwrite_int.h')
-rw-r--r--core/fxge/win32/dwrite_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/win32/dwrite_int.h b/core/fxge/win32/dwrite_int.h
index 60cc981a48..f49fda44dd 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,