diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-01 18:53:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-01 18:53:46 +0000 |
commit | e47e740b5138c81b7ddac61e99fa8bb9a39a3559 (patch) | |
tree | a94cf01cff15397f1b0959a0f7dbc6e013d34a4a /plugins/Scriver/src/msgs.cpp | |
parent | 08dc0f0af530f082093315d61ecb2377a410e88c (diff) |
useless icon copying removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@7447 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/msgs.cpp')
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 2cd0c51bf3..3d75a9223c 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -389,8 +389,8 @@ static void RegisterStatusIcons() StatusIconData sid = { sizeof(sid) };
sid.szModule = SRMMMOD;
sid.dwId = 1;
- sid.hIcon = CopyIcon(GetCachedIcon("scriver_TYPING"));
- sid.hIconDisabled = CopyIcon(GetCachedIcon("scriver_TYPINGOFF"));
+ sid.hIcon = GetCachedIcon("scriver_TYPING");
+ sid.hIconDisabled = GetCachedIcon("scriver_TYPINGOFF");
sid.flags = MBF_HIDDEN;
Srmm_AddIcon(&sid);
}
@@ -400,8 +400,8 @@ void ChangeStatusIcons() StatusIconData sid = { sizeof(sid) };
sid.szModule = SRMMMOD;
sid.dwId = 1;
- sid.hIcon = CopyIcon(GetCachedIcon("scriver_TYPING"));
- sid.hIconDisabled = CopyIcon(GetCachedIcon("scriver_TYPINGOFF"));
+ sid.hIcon = GetCachedIcon("scriver_TYPING");
+ sid.hIconDisabled = GetCachedIcon("scriver_TYPINGOFF");
sid.flags = MBF_HIDDEN;
Srmm_ModifyIcon(NULL, &sid);
}
|