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:
|
||||
* Marc Flerackers ([email protected])
|
||||
* Stefano Ceccherini ([email protected])
|
||||
* Stefano Ceccherini ([email protected])
|
||||
*/
|
||||
|
||||
|
||||
@@ -225,7 +225,7 @@ TextGapBuffer::Text()
|
||||
memcpy(scratchPtr, B_UTF8_BULLET, bulletCharLen);
|
||||
scratchPtr += bulletCharLen;
|
||||
}
|
||||
scratchPtr = '\0';
|
||||
*scratchPtr = '\0';
|
||||
|
||||
return fScratchBuffer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user