summaryrefslogtreecommitdiff
path: root/audio/xmms-fc/files/patch-SmartPtr.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-fc/files/patch-SmartPtr.h')
-rw-r--r--audio/xmms-fc/files/patch-SmartPtr.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/audio/xmms-fc/files/patch-SmartPtr.h b/audio/xmms-fc/files/patch-SmartPtr.h
new file mode 100644
index 000000000000..7f746dff870f
--- /dev/null
+++ b/audio/xmms-fc/files/patch-SmartPtr.h
@@ -0,0 +1,26 @@
+--- src/SmartPtr.h.orig Wed Oct 6 14:50:12 2004
++++ src/SmartPtr.h Wed Oct 6 14:51:29 2004
+@@ -207,16 +207,16 @@
+ {
+ if ( bufferLen >= 1 )
+ {
+- pBufCurrent = ( bufBegin = buffer );
+- bufEnd = bufBegin + bufferLen;
+- bufLen = bufferLen;
+- status = true;
++ this->pBufCurrent = ( this->bufBegin = buffer );
++ this->bufEnd = this->bufBegin + bufferLen;
++ this->bufLen = bufferLen;
++ this->status = true;
+ }
+ else
+ {
+- pBufCurrent = bufBegin = bufEnd = 0;
+- bufLen = 0;
+- status = false;
++ this->pBufCurrent = this->bufBegin = this->bufEnd = 0;
++ this->bufLen = 0;
++ this->status = false;
+ }
+ }
+ };