summaryrefslogtreecommitdiff
path: root/src/hb-directwrite.cc
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2018-04-28 13:58:55 +0430
committerGitHub <noreply@github.com>2018-04-28 13:58:55 +0430
commita57f5a1a185c333ae21a4ac1577387312895e107 (patch)
tree746d57c4f946f00a8eb413d300cf2eb8b72b2b13 /src/hb-directwrite.cc
parent9925030f19851957381b78c197e6f50c77fde756 (diff)
downloadharfbuzz-a57f5a1a185c333ae21a4ac1577387312895e107.tar.gz
[dwrite] Minor, enable the original code assertions
Diffstat (limited to 'src/hb-directwrite.cc')
-rw-r--r--src/hb-directwrite.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hb-directwrite.cc b/src/hb-directwrite.cc
index 01261891..187ab3f9 100644
--- a/src/hb-directwrite.cc
+++ b/src/hb-directwrite.cc
@@ -488,14 +488,14 @@ protected:
mCurrentRun = run;
return;
}
- // NS_NOTREACHED ("We should always be able to find the text position in one of our runs");
+ assert (0); // We should always be able to find the text position in one of our runs
}
void SplitCurrentRun (uint32_t splitPosition)
{
if (!mCurrentRun)
{
- //NS_ASSERTION (false, "SplitCurrentRun called without current run.");
+ assert (0); // SplitCurrentRun called without current run
// Shouldn't be calling this when no current run is set!
return;
}