X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a040d3f0708e859f812cc10ed1b391d4ca89a07..89c684ef8280e2d91096da2d96ba36e24a1fb917:/src/common/stream.cpp diff --git a/src/common/stream.cpp b/src/common/stream.cpp index 8754cc7c3a..728d50b5cf 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -157,7 +157,7 @@ char *wxStreamBuffer::AllocSpaceWBack(size_t needed_size) if (!temp_b) return NULL; m_wback = temp_b; - printf("Buffer(0x%x)->Write: 0x%x, %d\n", this, m_wback, m_wbacksize); + return (char *)(m_wback+(m_wbacksize-needed_size)); } @@ -165,7 +165,6 @@ size_t wxStreamBuffer::GetWBack(char *buf, size_t bsize) { size_t s_toget = m_wbacksize-m_wbackcur; - printf("Buffer(0x%x): 0x%x, %d\n", this, m_wback, m_wbacksize); if (bsize < s_toget) s_toget = bsize;