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

Unified Diff: compiled/filter/ElemHideBase.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 | « no previous file | compiled/filter/RegExpFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/filter/ElemHideBase.cpp
===================================================================
--- a/compiled/filter/ElemHideBase.cpp
+++ b/compiled/filter/ElemHideBase.cpp
@@ -109,17 +109,17 @@
bool emulation = false;
bool exception = scanner.skipOne(ABP_TEXT('@'));
if (exception)
seenSpaces |= scanner.skip(ABP_TEXT(' '));
else
emulation = scanner.skipOne(ABP_TEXT('?'));
String::value_type next = scanner.next();
- if (next != u'#')
+ if (next != ABP_TEXT('#'))
return Type::UNKNOWN;
// Selector part
// Selector shouldn't be empty
seenSpaces |= scanner.skip(ABP_TEXT(' '));
if (scanner.done())
return Type::UNKNOWN;
« no previous file with comments | « no previous file | compiled/filter/RegExpFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld