diff options
-rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index d7d626742..19dd06d42 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -418,7 +418,7 @@ FontID FontCached::FindOrCreate(const FontParameters &fp) { ret = cur->fid; } } - if (ret == 0) { + if (!ret) { FontCached *fc = new FontCached(fp); fc->next = first; first = fc; |