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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fonts/textchunk.cpp b/src/gui/fonts/textchunk.cpp
index a0c8a39dc..b88f4830e 100644
--- a/src/gui/fonts/textchunk.cpp
+++ b/src/gui/fonts/textchunk.cpp
@@ -41,7 +41,7 @@ namespace
const int OUTLINE_SIZE = 1;
} // namespace
-char *strBuf = nullptr;
+char *restrict strBuf = nullptr;
#ifdef UNITTESTS
int textChunkCnt = 0;