diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/clistsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/clistsettings.cpp b/src/mir_app/src/clistsettings.cpp index c036c4364e..c499da4265 100644 --- a/src/mir_app/src/clistsettings.cpp +++ b/src/mir_app/src/clistsettings.cpp @@ -108,7 +108,7 @@ TCHAR* fnGetContactDisplayName(MCONTACT hContact, int mode) mode &= ~GCDNF_NOCACHE;
else if (mode != GCDNF_NOMYHANDLE) {
cacheEntry = cli.pfnGetCacheEntry(hContact);
- if (cacheEntry->tszName)
+ if (cacheEntry && cacheEntry->tszName)
return cacheEntry->tszName;
}
|