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:
reed@google.com 2013-03-11 20:38:59 +00:00
parent 7eb28aae70
commit 8fff398043

View File

@ -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)) {