Mercurial > otakunoraifu
diff system/file_impl.h @ 50:35ce1a30f3f9
* Added va_end where there is a va_start
* Used NULL instead of 0 (so it works on 64b)
author | thib |
---|---|
date | Fri, 17 Apr 2009 18:38:06 +0000 |
parents | 5f548e5957a8 |
children | 15a18fbe6f21 |
line wrap: on
line diff
--- a/system/file_impl.h +++ b/system/file_impl.h @@ -62,7 +62,7 @@ protected: iterator SearchName(const char* f, const char* ext=0); public: ARCFILE(const char* fname); - void SetNext(ARCFILE* _next) { next = _next;} + void SetNext(ARCFILE* _next) { delete next; next = _next;} ARCFILE* Next(void) { return next; } void Init(void); virtual ~ARCFILE();