summaryrefslogtreecommitdiff
path: root/src/gui/fonts/textchunk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/fonts/textchunk.cpp')
-rw-r--r--src/gui/fonts/textchunk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/fonts/textchunk.cpp b/src/gui/fonts/textchunk.cpp
index 9280b9241..75b9c9626 100644
--- a/src/gui/fonts/textchunk.cpp
+++ b/src/gui/fonts/textchunk.cpp
@@ -81,7 +81,7 @@ TextChunk::TextChunk(const std::string &restrict text0,
TextChunk::~TextChunk()
{
- delete2(img);
+ delete2(img)
#ifdef UNITTESTS
textChunkCnt --;
#endif // UNITTESTS
@@ -198,6 +198,6 @@ void TextChunk::deleteImage()
}
else
{
- delete2(img);
+ delete2(img)
}
}