diff options
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/themes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp index 8f2666adc3..37fbbc6072 100644 --- a/plugins/TabSRMM/src/themes.cpp +++ b/plugins/TabSRMM/src/themes.cpp @@ -1224,7 +1224,7 @@ void CSkin::Unload() void CSkin::LoadIcon(const TCHAR *szSection, const TCHAR *name, HICON *hIcon) { TCHAR buffer[512]; - if (hIcon) + if (hIcon == NULL) return; if (*hIcon != 0) DestroyIcon(*hIcon); |