diff options
author | Max Horn | 2005-04-09 11:59:43 +0000 |
---|---|---|
committer | Max Horn | 2005-04-09 11:59:43 +0000 |
commit | 34098ae3c738b553c4b12377ba74b1d80072e41b (patch) | |
tree | da42f614fdce06e856fcfdd7c8afaebbc35f3830 /scumm/script_v72he.cpp | |
parent | db43946f05b299bfc480bca391106e9750f04c6a (diff) | |
download | scummvm-rg350-34098ae3c738b553c4b12377ba74b1d80072e41b.tar.gz scummvm-rg350-34098ae3c738b553c4b12377ba74b1d80072e41b.tar.bz2 scummvm-rg350-34098ae3c738b553c4b12377ba74b1d80072e41b.zip |
Simplify the substResFileName system a bit
svn-id: r17475
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 9b3b014080..c48b407d43 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1679,7 +1679,7 @@ void ScummEngine_v72he::o72_openFile() { if (_substResFileNameIndex > 0) { char buf1[128]; - generateSubstResFileName((char *)filename, buf1, 256, 0, _substResFileNameIndex); + generateSubstResFileName((char *)filename, buf1, sizeof(buf1)); strcpy((char *)filename, buf1); } |