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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/fonts/textchunk.cpp b/src/gui/fonts/textchunk.cpp
index 632dfaf7b..be0509562 100644
--- a/src/gui/fonts/textchunk.cpp
+++ b/src/gui/fonts/textchunk.cpp
@@ -41,7 +41,7 @@ namespace
char *strBuf = nullptr;
#ifdef UNITTESTS
-int sdlTextChunkCnt = 0;
+int textChunkCnt = 0;
#endif
TextChunk::TextChunk(const std::string &text0, const Color &color0,
@@ -54,7 +54,7 @@ TextChunk::TextChunk(const std::string &text0, const Color &color0,
next(nullptr)
{
#ifdef UNITTESTS
- sdlTextChunkCnt ++;
+ textChunkCnt ++;
#endif
}
@@ -62,7 +62,7 @@ TextChunk::~TextChunk()
{
delete2(img);
#ifdef UNITTESTS
- sdlTextChunkCnt --;
+ textChunkCnt --;
#endif
}