aboutsummaryrefslogtreecommitdiff
path: root/kyra/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'kyra/resource.h')
-rw-r--r--kyra/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kyra/resource.h b/kyra/resource.h
index 514198fafb..67275e1dbc 100644
--- a/kyra/resource.h
+++ b/kyra/resource.h
@@ -122,7 +122,7 @@ public:
// only for testing :)
uint8 getColor(uint16 x, uint16 y) { return _image[y * _width + x]; }
- uint8& operator[](uint16 index) { if(index > _width * _height) return _image[0]; return _image[index]; }
+ uint8& operator[](uint16 index) { if (index > _width * _height) return _image[0]; return _image[index]; }
protected: