diff options
| author | Eugene Sandulenko | 2016-09-19 10:03:30 +0200 | 
|---|---|---|
| committer | Eugene Sandulenko | 2016-09-19 18:13:31 +0200 | 
| commit | 3bf4f3fcbe342d5ddb805e66de1df29541541410 (patch) | |
| tree | 6cfd9026851d502c0687b0d2ae926c40c112c772 /engines/fullpipe/gameloader.cpp | |
| parent | 457a2b1cdc1ca71a0e89b619eee249e382526a89 (diff) | |
| download | scummvm-rg350-3bf4f3fcbe342d5ddb805e66de1df29541541410.tar.gz scummvm-rg350-3bf4f3fcbe342d5ddb805e66de1df29541541410.tar.bz2 scummvm-rg350-3bf4f3fcbe342d5ddb805e66de1df29541541410.zip  | |
FULLPIPE: Fix crash at load dialog initialization
Diffstat (limited to 'engines/fullpipe/gameloader.cpp')
| -rw-r--r-- | engines/fullpipe/gameloader.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/fullpipe/gameloader.cpp b/engines/fullpipe/gameloader.cpp index 55db7fb8e3..d1f27814c0 100644 --- a/engines/fullpipe/gameloader.cpp +++ b/engines/fullpipe/gameloader.cpp @@ -712,7 +712,8 @@ bool readSavegameHeader(Common::InSaveFile *in, FullpipeSavegameHeader &header)  	// Read in the string  	header.saveName.clear();  	char ch; -	while ((ch = (char)in->readByte()) != '\0') header.saveName += ch; +	while ((ch = (char)in->readByte()) != '\0') +		header.saveName += ch;  	// Get the thumbnail  	header.thumbnail = Graphics::loadThumbnail(*in);  | 
