From 532f1392072e0f7d5e19811429b5bfe72fcf56f5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jul 2018 12:13:44 +0300 Subject: fix for translating string with the same hash --- src/mir_core/src/langpack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_core') 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; } -- cgit v1.2.3