diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-11 20:38:59 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-11 20:38:59 +0000 |
commit | 8fff39804398cbf33b77ff7061391d47d6090e4f (patch) | |
tree | 064b5561f11b5b2d848c6a85ea8e53f171024722 /src/core/SkFontStream.cpp | |
parent | 7eb28aae700d32da148d23aa119c644f0c25cac9 (diff) |
fix missing ! typo when we switched to skip() helper function.
caught by linux unittests.
git-svn-id: http://skia.googlecode.com/svn/trunk@8081 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkFontStream.cpp')
-rw-r--r-- | src/core/SkFontStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkFontStream.cpp b/src/core/SkFontStream.cpp index 98ddba3214..580da37f43 100644 --- a/src/core/SkFontStream.cpp +++ b/src/core/SkFontStream.cpp @@ -196,7 +196,7 @@ size_t SkFontStream::GetTableData(SkStream* stream, int ttcIndex, // skip the stream to the part of the table we want to copy from stream->rewind(); size_t bytesToSkip = realOffset + offset; - if (skip(stream, bytesToSkip)) { + if (!skip(stream, bytesToSkip)) { return 0; } if (!read(stream, data, length)) { |