Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: compiled/filter/RegExpFilter.cpp

Issue 29723641: Issue 6180 - Add a few missing ABP_TEXT() macros (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created March 15, 2018, 4:13 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compiled/filter/ElemHideBase.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/filter/RegExpFilter.cpp
===================================================================
--- a/compiled/filter/RegExpFilter.cpp
+++ b/compiled/filter/RegExpFilter.cpp
@@ -124,17 +124,17 @@
}
break;
default:
if (!(currChar >= ABP_TEXT('a') && currChar <= ABP_TEXT('z')) &&
!(currChar >= ABP_TEXT('A') && currChar <= ABP_TEXT('Z')) &&
!(currChar >= ABP_TEXT('0') && currChar <= ABP_TEXT('9')) &&
currChar < 128)
{
- result.append(u'\\');
+ result.append(ABP_TEXT('\\'));
}
result.append(currChar);
}
prevChar = currChar;
}
return result;
}
« no previous file with comments | « compiled/filter/ElemHideBase.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld