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
This commit is contained in:
parent
7eb28aae70
commit
8fff398043
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user