diff options
author | James Brown | 2002-03-08 08:42:11 +0000 |
---|---|---|
committer | James Brown | 2002-03-08 08:42:11 +0000 |
commit | c161197117e3212e146083086f6f0ee581062789 (patch) | |
tree | d010a59c776f126613e110bbf80d4e64c55143ab /scummvm.cpp | |
parent | 41d1864add8dd9fe227963b812c59edb83a74138 (diff) | |
download | scummvm-rg350-c161197117e3212e146083086f6f0ee581062789.tar.gz scummvm-rg350-c161197117e3212e146083086f6f0ee581062789.tar.bz2 scummvm-rg350-c161197117e3212e146083086f6f0ee581062789.zip |
Yet more cleanups. Remove 'index' (reserved keyword), and remove 'res' shadowing.
svn-id: r3685
Diffstat (limited to 'scummvm.cpp')
-rw-r--r-- | scummvm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scummvm.cpp b/scummvm.cpp index 39552332cd..66c53efb39 100644 --- a/scummvm.cpp +++ b/scummvm.cpp @@ -943,7 +943,7 @@ void Scumm::setScaleItem(int slot, int a, int b, int c, int d) { } } -void Scumm::dumpResource(char *tag, int index, byte *ptr) { +void Scumm::dumpResource(char *tag, int idx, byte *ptr) { char buf[256]; FILE *out; @@ -953,7 +953,7 @@ void Scumm::dumpResource(char *tag, int index, byte *ptr) { else size = READ_BE_UINT32_UNALIGNED(ptr+4); - sprintf(buf, "dumps/%s%d.dmp", tag,index); + sprintf(buf, "dumps/%s%d.dmp", tag,idx); out = fopen(buf,"rb"); if (!out) { |