aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/jpeg.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/jpeg.cpp b/graphics/jpeg.cpp
index 82a08dbbaa..f918229bdd 100644
--- a/graphics/jpeg.cpp
+++ b/graphics/jpeg.cpp
@@ -717,6 +717,7 @@ Surface *JPEG::getComponent(uint c) {
if (_components[i].id == c) // We found the desired component
return &_components[i].surface;
+ error("JPEG::getComponent: No component %d present", c);
return NULL;
}