diff options
author | George Hazan <ghazan@miranda.im> | 2017-05-01 11:58:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-05-01 11:58:04 +0300 |
commit | 28d98a38c756991d461301efb483e4980a2def69 (patch) | |
tree | d317b4a941832d3cc4137a6f597c029757913987 /plugins/Scriver/src/msglog.cpp | |
parent | d75d5e8706b06457b799831448f282818233abe9 (diff) |
Utils_IsRtl - core function to detect RTL direcction
Diffstat (limited to 'plugins/Scriver/src/msglog.cpp')
-rw-r--r-- | plugins/Scriver/src/msglog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msglog.cpp b/plugins/Scriver/src/msglog.cpp index a96257bef1..f2beec5ee5 100644 --- a/plugins/Scriver/src/msglog.cpp +++ b/plugins/Scriver/src/msglog.cpp @@ -27,7 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define LOGICON_MSG_OUT 1
#define LOGICON_MSG_NOTICE 2
-extern int RTL_Detect(WCHAR *pszwText);
static int logPixelSY;
static char* pLogIconBmpBits[3];
static HIMAGELIST g_hImageList;
@@ -157,7 +156,7 @@ EventData* getEventFromDB(CSrmmWindow *dat, MCONTACT hContact, MEVENT hDbEvent) }
else evt->pszTextT = DbEvent_GetTextW(&dbei, CP_UTF8);
- if (!dat->m_bUseRtl && RTL_Detect(evt->pszTextT))
+ if (!dat->m_bUseRtl && Utils_IsRtl(evt->pszTextT))
evt->dwFlags |= IEEDF_RTL;
mir_free(dbei.pBlob);
|