summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src/opttree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TrafficCounter/src/opttree.cpp')
-rw-r--r--plugins/TrafficCounter/src/opttree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TrafficCounter/src/opttree.cpp b/plugins/TrafficCounter/src/opttree.cpp
index c3d6cfdc7d..fb9ffe8f91 100644
--- a/plugins/TrafficCounter/src/opttree.cpp
+++ b/plugins/TrafficCounter/src/opttree.cpp
@@ -36,7 +36,7 @@ static void OptTree_TranslateItem(HWND hwndTree, HTREEITEM hItem)
tvi.pszText = buf;
tvi.cchTextMax = _countof(buf);
SendMessage(hwndTree, TVM_GETITEM, 0, (LPARAM)&tvi);
- // Ïðîâåðèì, íàäî ëè ïåðåâîäèòü.
+ // Проверим, надо ли переводить.
if ((tvi.lParam != -1) && (pOptions[tvi.lParam].dwFlag & OPTTREE_NOTRANSLATE)) return;
tvi.pszText = TranslateW(tvi.pszText);
SendMessage(hwndTree, TVM_SETITEM, 0, (LPARAM)&tvi);