diff options
-rw-r--r-- | plugins/Scriver/src/chat/options.cpp | 4 | ||||
-rw-r--r-- | plugins/Weather/src/weather_info.cpp | 19 |
2 files changed, 11 insertions, 12 deletions
diff --git a/plugins/Scriver/src/chat/options.cpp b/plugins/Scriver/src/chat/options.cpp index eee5dd32cf..d426a179af 100644 --- a/plugins/Scriver/src/chat/options.cpp +++ b/plugins/Scriver/src/chat/options.cpp @@ -83,7 +83,7 @@ static struct branch_t branch4[] = { {LPGENT("Show icon in tray for highlights"), "TrayIconFlags", GC_EVENT_HIGHLIGHT, 1, NULL},
{LPGENT("Show icon in tray for users leaving"), "TrayIconFlags", GC_EVENT_PART, 0, NULL},
{LPGENT("Show icon in tray for users kicking other user"), "TrayIconFlags", GC_EVENT_KICK, 0, NULL},
- {LPGENT("Show icon in tray for notices "), "TrayIconFlags", GC_EVENT_NOTICE, 0, NULL},
+ {LPGENT("Show icon in tray for notices"), "TrayIconFlags", GC_EVENT_NOTICE, 0, NULL},
{LPGENT("Show icon in tray for name changes"), "TrayIconFlags", GC_EVENT_NICK, 0, NULL},
{LPGENT("Show icon in tray for information messages"), "TrayIconFlags", GC_EVENT_INFORMATION, 0, NULL},
{LPGENT("Show icon in tray for status changes"), "TrayIconFlags", GC_EVENT_ADDSTATUS, 0, NULL},
@@ -99,7 +99,7 @@ static struct branch_t branch6[] = { {LPGENT("Show popup for highlights"), "PopupFlags", GC_EVENT_HIGHLIGHT, 0, NULL},
{LPGENT("Show popup for users leaving"), "PopupFlags", GC_EVENT_PART, 0, NULL},
{LPGENT("Show popup for users kicking other user"), "PopupFlags", GC_EVENT_KICK, 0, NULL},
- {LPGENT("Show popup for notices "), "PopupFlags", GC_EVENT_NOTICE, 0, NULL},
+ {LPGENT("Show popup for notices"), "PopupFlags", GC_EVENT_NOTICE, 0, NULL},
{LPGENT("Show popup for name changes"), "PopupFlags", GC_EVENT_NICK, 0, NULL},
{LPGENT("Show popup for information messages"), "PopupFlags", GC_EVENT_INFORMATION, 0, NULL},
{LPGENT("Show popup for status changes"), "PopupFlags", GC_EVENT_ADDSTATUS, 0, NULL},
diff --git a/plugins/Weather/src/weather_info.cpp b/plugins/Weather/src/weather_info.cpp index f02fc79a28..7b95614088 100644 --- a/plugins/Weather/src/weather_info.cpp +++ b/plugins/Weather/src/weather_info.cpp @@ -34,13 +34,13 @@ void INIInfo(HWND hwndDlg) {
TCHAR str[16];
size_t memused = 0;
- LVITEM lvi = {0};
WIDATALIST *Item = WIHead;
HWND hIniList = GetDlgItem(hwndDlg, IDC_INFOLIST);
ListView_DeleteAllItems(hIniList);
+ LVITEM lvi = {0};
lvi.mask = LVIF_TEXT;
lvi.iItem = 0;
while (Item != NULL)
@@ -93,13 +93,13 @@ static const struct tag_Columns }
columns[] =
{
- { _T("Name"), 70 },
- { _T("Author"), 100 },
- { _T("File Version"), 70 },
- { _T("INI Version"), 70 },
- { _T("Items"), 40 },
- { _T("Display Name"), 200 },
- { _T("File Name"), 150 },
+ { LPGENT("Name"), 70 },
+ { LPGENT("Author"), 100 },
+ { LPGENT("File Version"), 70 },
+ { LPGENT("INI Version"), 70 },
+ { LPGENT("Items"), 40 },
+ { LPGENT("Display Name"), 200 },
+ { LPGENT("File Name"), 150 },
};
@@ -221,8 +221,7 @@ void MoreVarList(void) // loop through all weather services to find custom variables
while (Item != NULL)
{
- WIDATAITEMLIST* WItem;
- WItem = Item->Data.UpdateData;
+ WIDATAITEMLIST *WItem = Item->Data.UpdateData;
// loop through all update items in a service
while (WItem != NULL)
{
|