diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-26 14:36:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-26 14:36:34 +0000 |
commit | f14fa326359b2c32fb1f370f90956e86b43d2e51 (patch) | |
tree | a066c18cbdfbf2356ac233a629b21cbe33196090 /src/modules/clist/clc.cpp | |
parent | 0f17dd8168aa247cc0366be363902a20a9b692af (diff) |
a parameter added to pfnLoadClcOptions to prevent double options initialization
git-svn-id: http://svn.miranda-ng.org/main/trunk@9945 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clc.cpp')
-rw-r--r-- | src/modules/clist/clc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/clist/clc.cpp b/src/modules/clist/clc.cpp index 9f41284f6b..b0dfa19bb9 100644 --- a/src/modules/clist/clc.cpp +++ b/src/modules/clist/clc.cpp @@ -297,7 +297,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, dat->extraColumnSpacing = 20;
dat->list.cl.increment = 30;
dat->needsResort = 1;
- cli.pfnLoadClcOptions(hwnd, dat);
+ cli.pfnLoadClcOptions(hwnd, dat, TRUE);
if (!IsWindowVisible(hwnd))
SetTimer(hwnd, TIMERID_REBUILDAFTER, 10, NULL);
else {
@@ -320,7 +320,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, break;
case INTM_RELOADOPTIONS:
- cli.pfnLoadClcOptions(hwnd, dat);
+ cli.pfnLoadClcOptions(hwnd, dat, FALSE);
cli.pfnSaveStateAndRebuildList(hwnd, dat);
break;
|