summaryrefslogtreecommitdiff
path: root/audio/libsidplay2/files/patch-libsidplay__include__sidplay__SmartPtr.h
blob: df50ab655518a40a0fec1dd3a2cfb8c8b7da3dd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- libsidplay/include/sidplay/SmartPtr.h.orig	Tue Jun 15 05:08:04 2004
+++ libsidplay/include/sidplay/SmartPtr.h	Wed Aug 18 00:47:50 2004
@@ -211,16 +211,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;
 		}
 	}
 };