summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-12 12:13:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-12 12:13:44 +0300
commit532f1392072e0f7d5e19811429b5bfe72fcf56f5 (patch)
tree584b64ff747bfe02e36fb6be95a80bf55682d03c /src
parent4dc8a21aa2c70527112d852862c0d3a45d2bfb8a (diff)
fix for translating string with the same hash
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/src/langpack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/langpack.cpp b/src/mir_core/src/langpack.cpp
index 1d139b67dd..e20a465051 100644
--- a/src/mir_core/src/langpack.cpp
+++ b/src/mir_core/src/langpack.cpp
@@ -477,7 +477,7 @@ char* LangPackTranslateString(const MUUID *pUuid, const char *szEnglish, const i
// try to find the exact match, otherwise the first entry will be returned
if (pUuid) {
for (LangPackEntry *p = entry->pNext; p != nullptr; p = p->pNext) {
- if (p->pMuuid == pUuid) {
+ if (*p->pMuuid == *pUuid) {
entry = p;
break;
}