summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-02 21:19:28 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-02 21:19:28 +0300
commita3b2076ba0b398523c3e0428c2400184e83c4f62 (patch)
treeae13ed62556e9b7343b9330089fa3dad2a8b67d2 /src/graphics.h
parent6f23241ba9d7d908534dade0e03041486a970ddc (diff)
downloadplus-a3b2076ba0b398523c3e0428c2400184e83c4f62.tar.gz
plus-a3b2076ba0b398523c3e0428c2400184e83c4f62.tar.bz2
plus-a3b2076ba0b398523c3e0428c2400184e83c4f62.tar.xz
plus-a3b2076ba0b398523c3e0428c2400184e83c4f62.zip
Last fixes after Coverity checks.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h
index b9d4cc53b..12a6c3a77 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -61,7 +61,10 @@ class ImageRect final
{
public:
ImageRect()
- { }
+ {
+ for (int f = 0; f < 9; f ++)
+ grid[f] = nullptr;
+ }
A_DELETE_COPY(ImageRect)