diff options
Diffstat (limited to 'plugins/HistoryLinkListPlus/linklist_fct.c')
-rw-r--r-- | plugins/HistoryLinkListPlus/linklist_fct.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/HistoryLinkListPlus/linklist_fct.c b/plugins/HistoryLinkListPlus/linklist_fct.c index ed0816ba1f..da7771e8c0 100644 --- a/plugins/HistoryLinkListPlus/linklist_fct.c +++ b/plugins/HistoryLinkListPlus/linklist_fct.c @@ -90,9 +90,9 @@ int ExtractURI(DBEVENTINFO *dbei, HANDLE hEvent, LISTELEMENT *listStart) {
break;
}
-#ifndef _UNICODE
+
if(IsDBCSLeadByte(msg[i]) && msg[i+1]) i++;
-#endif
+
i++;
if ( msg[i] != _T('\n') ) charCount++;
}
@@ -103,10 +103,10 @@ int ExtractURI(DBEVENTINFO *dbei, HANDLE hEvent, LISTELEMENT *listStart) while ( msg[i] && !_istspace(msg[i]) )
{
-#ifndef _UNICODE
+
if ( IsDBCSLeadByte(msg[i] ) && msg[i+1]) i++;
else
-#endif
+
if ( _istalnum(msg[i]) || msg[i]==_T('/') )
{
cpLastAlphaNum = charCount;
|