mirror of
https://github.com/SWG-Source/src.git
synced 2026-10-05 22:12:52 -04:00
Revert "fix some things cppcheck found...some are TODO because i don't feel like investigating them"
This reverts commit 173575e835.
This commit is contained in:
@@ -1167,7 +1167,7 @@ bool TargaFormat::saveImage(const Image &image, const char *filename)
|
||||
//---------------------------------------------------
|
||||
|
||||
f = fopen(filename, "wb");
|
||||
if (f==NULL)
|
||||
if (!f)
|
||||
{
|
||||
DEBUG_WARNING(true, ("Unable to open Targa destination file %s.\n", filename));
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user