diff options
Diffstat (limited to 'shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx')
-rw-r--r-- | shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx index c6dc1253b953..df3a63d7fd66 100644 --- a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx +++ b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx @@ -202,18 +202,18 @@ HRESULT STDMETHODCALLTYPE StreamOnZipBuffer::Seek(LARGE_INTEGER dlibMove, DWORD case STREAM_SEEK_END: p = size - 1; break; - } + } - HRESULT hr = STG_E_INVALIDFUNCTION; + HRESULT hr = STG_E_INVALIDFUNCTION; - p += dlibMove.QuadPart; + p += dlibMove.QuadPart; - if ( ( p >= 0 ) && (p < size) ) - { + if ( ( p >= 0 ) && (p < size) ) + { pos_ = static_cast<size_t>(p); hr = S_OK; - } - return hr; + } + return hr; } HRESULT STDMETHODCALLTYPE StreamOnZipBuffer::Stat(STATSTG *pstatstg, DWORD grfStatFlag) |