diff options
author | Christoph Mallon | 2011-08-07 10:22:00 +0200 |
---|---|---|
committer | Christoph Mallon | 2011-08-07 15:19:08 +0200 |
commit | 3ee307e6b33d31206bcc9bfc160407c9550b9adf (patch) | |
tree | e28c2dc65abdfd96930995122400fc311b4258f4 /engines/kyra | |
parent | ab80b20a305728ecbe402ab0461c9a10cd7570b5 (diff) | |
download | scummvm-rg350-3ee307e6b33d31206bcc9bfc160407c9550b9adf.tar.gz scummvm-rg350-3ee307e6b33d31206bcc9bfc160407c9550b9adf.tar.bz2 scummvm-rg350-3ee307e6b33d31206bcc9bfc160407c9550b9adf.zip |
KYRA: Simplify initializing a buffer with a string.
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/kyra_hof.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp index 432cf1a250..b82099f058 100644 --- a/engines/kyra/kyra_hof.cpp +++ b/engines/kyra/kyra_hof.cpp @@ -1052,8 +1052,7 @@ void KyraEngine_HoF::runStartScript(int script, int unk1) { void KyraEngine_HoF::loadNPCScript() { _emc->unload(&_npcScriptData); - char filename[12]; - strcpy(filename, "_NPC.EMC"); + char filename[] = "_NPC.EMC"; if (_flags.platform != Common::kPlatformPC || _flags.isTalkie) { switch (_lang) { |