summaryrefslogtreecommitdiff
path: root/audio/libsidplay2/patches/patch-aa
blob: bcfe36bd22e9b69d978a6e35bc3c304545d4aa42 (plain)
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
27
28
$NetBSD: patch-aa,v 1.1 2006/04/19 16:51:47 joerg Exp $

--- libsidplay/include/sidplay/SmartPtr.h.orig	2006-04-19 15:53:41.000000000 +0000
+++ libsidplay/include/sidplay/SmartPtr.h
@@ -211,16 +211,16 @@ class SmartPtr_sidtt : public SmartPtrBa
 	{
 		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;
 		}
 	}
 };