diff options
author | George Hazan <george.hazan@gmail.com> | 2012-12-01 20:32:13 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-12-01 20:32:13 +0000 |
commit | 1860018b201d995ed051c0affb72d5a1d09fa02e (patch) | |
tree | 1ee096c43578fdf5694e5487d672830f810f186c /protocols/Omegle/src | |
parent | 7300094417302d82aa4f3f6e469f91d8facf4f26 (diff) |
SKINICONDESC initialization - end of story
git-svn-id: http://svn.miranda-ng.org/main/trunk@2598 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/src')
-rw-r--r-- | protocols/Omegle/src/theme.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/protocols/Omegle/src/theme.cpp b/protocols/Omegle/src/theme.cpp index 4ed027ed0c..04ab200f66 100644 --- a/protocols/Omegle/src/theme.cpp +++ b/protocols/Omegle/src/theme.cpp @@ -48,22 +48,18 @@ void InitIcons(void) char setting_name[100];
char section_name[100];
- SKINICONDESC sid = {0};
- sid.cbSize = sizeof(SKINICONDESC);
+ SKINICONDESC sid = { sizeof(sid) };
sid.ptszDefaultFile = szFile;
sid.cx = sid.cy = 16;
sid.pszName = setting_name;
sid.pszSection = section_name;
- sid.flags = SIDF_PATH_TCHAR;
+ sid.flags = SIDF_PATH_TCHAR;
- for (int i=0; i<SIZEOF(icons); i++)
- {
- if(icons[i].defIconID)
- {
+ for (int i=0; i<SIZEOF(icons); i++) {
+ if(icons[i].defIconID) {
mir_snprintf(setting_name,sizeof(setting_name),"%s_%s","Omegle",icons[i].name);
- if (icons[i].section)
- {
+ if (icons[i].section) {
mir_snprintf(section_name,sizeof(section_name),"%s/%s/%s",LPGEN("Protocols"),
LPGEN("Omegle"), icons[i].section);
} else {
|