Revised previously committed guard to comply to ScummVM coding standard
svn-id: r25620
This commit is contained in:
parent
8bef04f94a
commit
97bb233663
1 changed files with 1 additions and 2 deletions
|
@ -277,8 +277,7 @@ void StringData::getString(uint16 stringId, char *dest, const char *hotspotName,
|
|||
// Copy over hotspot or action
|
||||
ch = readCharacter();
|
||||
const char *p = (ch == '1') ? hotspotName : characterName;
|
||||
if (p != NULL)
|
||||
{
|
||||
if (p != NULL) {
|
||||
strcpy(destPos, p);
|
||||
destPos += strlen(p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue