diff options
| author | Batchyx <batchman@free.fr> | 2010-11-01 16:35:15 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-11-24 01:15:18 +0100 |
| commit | c3966413e9f9c612fb26cfb2d0a20d85aa136df9 (patch) | |
| tree | 756761bb38ee9e41a264a53c746b5abd7833d670 /src/game/editor | |
| parent | e6698b111873e5c8584343eb511aa40c7052f99b (diff) | |
| download | zcatch-c3966413e9f9c612fb26cfb2d0a20d85aa136df9.tar.gz zcatch-c3966413e9f9c612fb26cfb2d0a20d85aa136df9.zip | |
Storage: fix RemoveFile and CreateFolder ret value
Removefile returns remove() and CreateFolder returns fs_makedir(), but they returns 0 on success and non-zero on error. Fix that, RemoveFile and CreateFolder should return true on success. (they return false when the type argument is invalid). note: bug has remained unoticed because noone uses CreateFolder, and the user of RemoveFile (the demo browser's remove button) doesn't check the return value.
Diffstat (limited to 'src/game/editor')
0 files changed, 0 insertions, 0 deletions