changeset 163:dc6fc0d3f303

Fix null check
author Frank Benoit <benoit@tionex.de>
date Thu, 21 Feb 2008 15:20:13 +0100
parents 619faee45ef6
children 19a760bfd55f
files dwt/internal/win32/OS.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/internal/win32/OS.d	Wed Feb 20 21:41:58 2008 +0100
+++ b/dwt/internal/win32/OS.d	Thu Feb 21 15:20:13 2008 +0100
@@ -4320,7 +4320,7 @@
         foreach( inout s; Symbols_UxTheme ){
             if( OS.WIN32_VERSION >= OS.VERSION( s.major, s.minor )){
                 *s.symbol = lib.getSymbol( s.name.ptr );
-                if( s.symbol is null ){
+                if( *s.symbol is null ){
                     Trace.formatln("UxTheme.dll: Symbol '{}' not found", s.name );
                 }
             }