diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-04 19:37:31 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-04 19:37:31 +0000 |
commit | 2da1f347012d15530482b2494e83ab0b8c785521 (patch) | |
tree | 58d36b9515d4d755a247961608af944566fd6dcd /src/modules/clist/clc.cpp | |
parent | 21bfe50e8060a5cbede8eb8a79293618c276c05b (diff) |
various code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@9678 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clc.cpp')
-rw-r--r-- | src/modules/clist/clc.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/clist/clc.cpp b/src/modules/clist/clc.cpp index baa67a4cd1..9f41284f6b 100644 --- a/src/modules/clist/clc.cpp +++ b/src/modules/clist/clc.cpp @@ -45,8 +45,10 @@ void FreeDisplayNameCache(void); void fnInitAutoRebuild(HWND hWnd)
{
- if (!cli.bAutoRebuild && hWnd)
- cli.bAutoRebuild = PostMessage(hWnd, CLM_AUTOREBUILD, 0, 0) != 0;
+ if (!cli.bAutoRebuild && hWnd) {
+ cli.bAutoRebuild = true;
+ SendMessage(hWnd, CLM_AUTOREBUILD, 0, 0);
+ }
}
void fnClcBroadcast(int msg, WPARAM wParam, LPARAM lParam)
|