From 6dbed5e951e7c28a269e3095c7336d983b622f7d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 29 Mar 2015 17:55:29 +0000 Subject: fix for parsing links git-svn-id: http://svn.miranda-ng.org/main/trunk@12547 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEView/src/TextToken.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/IEView') diff --git a/plugins/IEView/src/TextToken.cpp b/plugins/IEView/src/TextToken.cpp index cdf201db18..5af554cfb7 100644 --- a/plugins/IEView/src/TextToken.cpp +++ b/plugins/IEView/src/TextToken.cpp @@ -28,7 +28,7 @@ TextToken::TextToken(int _type, const char *_text, int _len) end = false; type = _type; text = mir_strndup(_text, _len); - wtext = mir_a2t(_text); + wtext = mir_a2t(text); link = NULL; wlink = NULL; } @@ -40,7 +40,7 @@ TextToken::TextToken(int _type, const wchar_t *_wtext, int _len) end = false; type = _type; wtext = mir_tstrndup(_wtext, _len); - text = mir_t2a(_wtext); + text = mir_t2a(wtext); link = NULL; wlink = NULL; } -- cgit v1.2.3