diff options
author | Paweł Kołodziejski | 2002-09-02 20:15:14 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2002-09-02 20:15:14 +0000 |
commit | 687e82c0fa0811b7217c036597befb70662c2bd3 (patch) | |
tree | 29535eccac7795d39e003e9d5fea340f4b8114d4 /common | |
parent | ca03c9b5fc58b6beb5dbc6c1307464ef9e2c9f45 (diff) | |
download | scummvm-rg350-687e82c0fa0811b7217c036597befb70662c2bd3.tar.gz scummvm-rg350-687e82c0fa0811b7217c036597befb70662c2bd3.tar.bz2 scummvm-rg350-687e82c0fa0811b7217c036597befb70662c2bd3.zip |
fixes
svn-id: r4897
Diffstat (limited to 'common')
-rw-r--r-- | common/file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/file.cpp b/common/file.cpp index 809c843ecf..0872e6ef56 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -119,11 +119,11 @@ uint32 File::read(void *ptr, uint32 size) { if (_handle == NULL) { error("File is not open!"); - return; + return 0; } if (size == 0) - return; + return 0; if ((uint32)fread(ptr2, 1, size, _handle) != size) { clearerr(_handle); |