qt: playlist: use item title if available
[vlc.git] / contrib / src / sidplay2 / sidplay2-smartprt.patch
blob19a9e625bb94b69e5132a544d634c71213db7709
1 --- sidplay-2.1.1/libsidplay/include/sidplay/SmartPtr.h 2004-06-14 22:08:04.000000000 +0200
2 +++ sidplay2/libsidplay/include/sidplay/SmartPtr.h 2010-12-28 23:33:07.803027697 +0100
3 @@ -211,16 +211,16 @@
5 if ( bufferLen >= 1 )
7 - pBufCurrent = ( bufBegin = buffer );
8 - bufEnd = bufBegin + bufferLen;
9 - bufLen = bufferLen;
10 - status = true;
11 + this->pBufCurrent = ( this->bufBegin = buffer );
12 + this->bufEnd = this->bufBegin + bufferLen;
13 + this->bufLen = bufferLen;
14 + this->status = true;
16 else
18 - pBufCurrent = bufBegin = bufEnd = 0;
19 - bufLen = 0;
20 - status = false;
21 + this->pBufCurrent = this->bufBegin = this->bufEnd = 0;
22 + this->bufLen = 0;
23 + this->status = false;