Ran script to remove trailing spaces and tabs

This commit is contained in:
Robert Osfield
2012-03-21 17:36:20 +00:00
parent 1e35f8975d
commit 14a563dc9f
1495 changed files with 21873 additions and 21873 deletions

View File

@@ -57,11 +57,11 @@ bool HDRLoader::isHDRFile(const char *_fileName)
char str[10];
size_t numRead = fread(str, 10, 1, file);
fclose(file);
if (numRead<1) return false;
if (memcmp(str, "#?RADIANCE", 10) && memcmp(str, "#?RGBE", 6))
return false;
@@ -80,12 +80,12 @@ bool HDRLoader::load(const char *_fileName, const bool _rawRGBE, HDRLoaderResult
size_t numRead = fread(str, 10, 1, file);
if (numRead<1)
if (numRead<1)
{
fclose(file);
return false;
}
if (memcmp(str, "#?RADIANCE", 10))
{
fseek(file, 0, SEEK_SET);