Index: core/fxcrt/fx_basic_buffer.cpp |
diff --git a/core/fxcrt/fx_basic_buffer.cpp b/core/fxcrt/fx_basic_buffer.cpp |
index e954224d8a60b5cf13cfe6fc0bf7e0a4ac6ecb4a..8466e88c561d8c3c5f9daa1d486ad60d1726cd8d 100644 |
--- a/core/fxcrt/fx_basic_buffer.cpp |
+++ b/core/fxcrt/fx_basic_buffer.cpp |
@@ -244,7 +244,7 @@ bool CFX_FileBufferArchive::Flush() { |
return false; |
if (!m_pBuffer || !nRemaining) |
return true; |
- return m_pFile->WriteBlock(m_pBuffer.get(), nRemaining) > 0; |
+ return m_pFile->WriteBlock(m_pBuffer.get(), nRemaining); |
} |
int32_t CFX_FileBufferArchive::AppendBlock(const void* pBuf, size_t size) { |