diff options
Diffstat (limited to 'plugins/Clist_nicer/src/Coolsb')
-rw-r--r-- | plugins/Clist_nicer/src/Coolsb/coolsblib.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Clist_nicer/src/Coolsb/coolsblib.cpp b/plugins/Clist_nicer/src/Coolsb/coolsblib.cpp index 538f77f2a7..542493674a 100644 --- a/plugins/Clist_nicer/src/Coolsb/coolsblib.cpp +++ b/plugins/Clist_nicer/src/Coolsb/coolsblib.cpp @@ -388,6 +388,8 @@ int WINAPI CoolSB_SetScrollInfo(HWND hwnd, int fnBar, LPSCROLLINFO lpsi, BOOL fR }
SCROLLBAR *sbar = GetScrollBarFromHwnd(hwnd, fnBar);
+ if (sbar == NULL)
+ return;
if ((lpsi->fMask & SIF_DISABLENOSCROLL) || (sbar->fScrollFlags & CSBS_THUMBALWAYS)) {
if (!sbar->fScrollVisible) {
|