summaryrefslogtreecommitdiff
path: root/src/gui/fonts/textchunk.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-24 01:37:41 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-24 01:37:41 +0300
commit8cf035f1eded9e002d73353fa7087902f092cf1f (patch)
treef990f25036e47070a4a75c8bfaa9f828204fd221 /src/gui/fonts/textchunk.cpp
parentb9500567c59f775c75874722747bb858852d3bbe (diff)
downloadplus-8cf035f1eded9e002d73353fa7087902f092cf1f.tar.gz
plus-8cf035f1eded9e002d73353fa7087902f092cf1f.tar.bz2
plus-8cf035f1eded9e002d73353fa7087902f092cf1f.tar.xz
plus-8cf035f1eded9e002d73353fa7087902f092cf1f.zip
Add restrict keyword into textchunk.
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;