summaryrefslogtreecommitdiff
path: root/src/core/stdchat
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-27 18:17:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-27 18:17:29 +0000
commitd83bb1213828c8e217f0c1079443ef7d8cd8eab4 (patch)
treec8c3c6a1ebd73bff374d4d66fc28439cbf8afd0e /src/core/stdchat
parent77cafc3eb6fd925d6c10e84bf950ed9efb4c709a (diff)
StcChat: "Show status changes" option disabled for a while
git-svn-id: http://svn.miranda-ng.org/main/trunk@7918 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdchat')
-rw-r--r--src/core/stdchat/src/options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/stdchat/src/options.cpp b/src/core/stdchat/src/options.cpp
index b2b637bf76..1006a9bcbb 100644
--- a/src/core/stdchat/src/options.cpp
+++ b/src/core/stdchat/src/options.cpp
@@ -52,8 +52,8 @@ static const struct branch_t branch1[] = {
{ LPGENT("Do not play sounds when the chat room is focused"), "SoundsFocus", 0, 0},
{ LPGENT("Do not pop up the window when joining a chat room"), "PopupOnJoin", 0,0},
{ LPGENT("Toggle the visible state when double clicking in the contact list"), "ToggleVisibility", 0,0},
- {LPGENT("Show contact statuses if protocol supports them"), "ShowContactStatus", 0,0},
- {LPGENT("Display contact status icon before user role icon"), "ContactStatusFirst", 0,0},
+ { LPGENT("Show contact statuses if protocol supports them"), "ShowContactStatus", 0, 0 },
+ { LPGENT("Display contact status icon before user role icon"), "ContactStatusFirst", 0, 0 },
};
static const struct branch_t branch2[] = {
@@ -174,10 +174,10 @@ static void FillBranch(HWND hwndTree, HTREEITEM hParent, const struct branch_t *
static void SaveBranch(HWND hwndTree, const struct branch_t *branch, HTREEITEM *hItemB, int nValues)
{
- TVITEM tvi;
int iState = 0;
- tvi.mask=TVIF_HANDLE|TVIF_STATE;
+ TVITEM tvi;
+ tvi.mask = TVIF_HANDLE | TVIF_STATE;
for (int i = 0; i < nValues; i++) {
tvi.hItem = hItemB[i];
TreeView_GetItem(hwndTree,&tvi);