summaryrefslogtreecommitdiff
path: root/plugins/Weather/src
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-07-12 08:22:53 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-07-12 08:22:53 +0000
commit9dbc1b6c45592147a121015e829c35738fe2bc90 (patch)
tree66c22a2571576de8135daf1800e5e07943138e67 /plugins/Weather/src
parent91d8e2677d27aebd11a1b6debf23cc49a8d340a2 (diff)
minor translation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@5333 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src')
-rw-r--r--plugins/Weather/src/weather_info.cpp19
1 files changed, 9 insertions, 10 deletions
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)
{