Fix typo (missing pointer dereference).
Found by PVS-Studio developer Svyatoslav Razmyslov. Also update my email address.
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
* Marc Flerackers ([email protected])
|
* Marc Flerackers ([email protected])
|
||||||
* Stefano Ceccherini ([email protected])
|
* Stefano Ceccherini ([email protected])
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -225,7 +225,7 @@ TextGapBuffer::Text()
|
|||||||
memcpy(scratchPtr, B_UTF8_BULLET, bulletCharLen);
|
memcpy(scratchPtr, B_UTF8_BULLET, bulletCharLen);
|
||||||
scratchPtr += bulletCharLen;
|
scratchPtr += bulletCharLen;
|
||||||
}
|
}
|
||||||
scratchPtr = '\0';
|
*scratchPtr = '\0';
|
||||||
|
|
||||||
return fScratchBuffer;
|
return fScratchBuffer;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user