diff -ur ScummVM-cvs20020819/scummvm/script_v1.cpp ScummVM-cvs20020819+hack/scummvm/script_v1.cpp
old
|
new
|
|
1991 | 1991 | FILE *out; |
1992 | 1992 | |
1993 | 1993 | a = getVarOrDirectByte(0x80); |
1994 | | s = buf; |
| 1994 | |
| 1995 | // FIXME - check for buffer overflow |
| 1996 | strcpy(buf, getSavePath()); |
| 1997 | s = buf + strlen(buf); |
1995 | 1998 | while ((*s++ = fetchScriptByte())); |
1996 | 1999 | |
1997 | 2000 | // Use buf as filename |
… |
… |
|
2009 | 2012 | FILE *in; |
2010 | 2013 | |
2011 | 2014 | a = getVarOrDirectByte(0x80); |
2012 | | s = buf; |
| 2015 | |
| 2016 | // FIXME - check for buffer overflow |
| 2017 | strcpy(buf, getSavePath()); |
| 2018 | s = buf + strlen(buf); |
2013 | 2019 | while ((*s++ = fetchScriptByte())); |
2014 | 2020 | |
2015 | 2021 | // Use buf as filename |