diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-29 17:55:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-29 17:55:29 +0000 |
commit | 6dbed5e951e7c28a269e3095c7336d983b622f7d (patch) | |
tree | e5fecac6814a458f9ae6e06b4c9df7eba8f19682 | |
parent | 2aa4e30ba51dd7209937ce73f235514bd47e01f1 (diff) |
fix for parsing links
git-svn-id: http://svn.miranda-ng.org/main/trunk@12547 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/IEView/src/TextToken.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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;
}
|