Fix bug with native rendering

This commit is contained in:
Victor Shcherb 2012-01-06 00:18:43 +01:00
parent 226d99eb15
commit 41f65a1e5c
2 changed files with 1 additions and 1 deletions

View file

@ -407,7 +407,7 @@ uint32 CodedInputStream::ReadTagFallback() {
// Osmand change ::
int CodedInputStream::getTotalBytesRead() {
return total_bytes_read_ - (buffer_end_ - buffer_);
return total_bytes_read_ - (BufferSize() + buffer_size_after_limit_);
}
bool CodedInputStream::ReadVarint64Slow(uint64* value) {

Binary file not shown.