aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/CImageLoaderTGA.cpp
diff options
context:
space:
mode:
authorcutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475>2022-06-30 16:23:48 +0000
committersfan5 <sfan5@live.de>2023-03-24 17:09:11 +0100
commit98df6eae77d646eb8958ce39988d2c0c8da0b1ba (patch)
treee345393ac855fe3fe466cc3178d93869785694cb /source/Irrlicht/CImageLoaderTGA.cpp
parent3ce4b2b5dceb2c0c0d265d04a9aac72aba544c3a (diff)
downloadirrlicht-98df6eae77d646eb8958ce39988d2c0c8da0b1ba.tar.xz
Unify & improve log messages
Lots of places where coders did not realize our Printer::log with hint adds a ": " string between message and hint Which caused uglier messages in a few places (added documentation for that, maybe helps?) Some added info in a few places Some whitespace unification Some spelling unification git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6414 dfc29bdd-3216-0410-991c-e03cc46cb475
Diffstat (limited to 'source/Irrlicht/CImageLoaderTGA.cpp')
-rw-r--r--source/Irrlicht/CImageLoaderTGA.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Irrlicht/CImageLoaderTGA.cpp b/source/Irrlicht/CImageLoaderTGA.cpp
index 3286bdd..d5e24a5 100644
--- a/source/Irrlicht/CImageLoaderTGA.cpp
+++ b/source/Irrlicht/CImageLoaderTGA.cpp
@@ -106,7 +106,7 @@ IImage* CImageLoaderTGA::loadImage(io::IReadFile* file) const
if (!checkImageDimensions(header.ImageWidth, header.ImageHeight))
{
- os::Printer::log("Rejecting TGA with unreasonable size.", ELL_ERROR);
+ os::Printer::log("Image dimensions too large in file", file->getFileName(), ELL_ERROR);
return 0;
}