Revised previously committed guard to comply to ScummVM coding standard

svn-id: r25620
This commit is contained in:
Paul Gilbert 2007-02-16 03:49:34 +00:00
parent 8bef04f94a
commit 97bb233663

View file

@ -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);
}