aboutsummaryrefslogtreecommitdiffstats
path: root/common/pango.c
diff options
context:
space:
mode:
authorLibravatar Niccolò Scatena <speedjack95@gmail.com>2018-10-17 13:00:12 +0200
committerLibravatar Niccolò Scatena <speedjack95@gmail.com>2018-10-17 13:00:12 +0200
commit8c86fff6dccc45b065ad40857ed6f983e607e16c (patch)
tree0c39c5489b863206887fa23a158efb8b5eca0ee5 /common/pango.c
parentMerge pull request #2843 from c-edw/feature/2842_TruncateMessage (diff)
downloadsway-8c86fff6dccc45b065ad40857ed6f983e607e16c.tar.gz
sway-8c86fff6dccc45b065ad40857ed6f983e607e16c.tar.zst
sway-8c86fff6dccc45b065ad40857ed6f983e607e16c.zip
Fix stringop-overflow warnings
Diffstat (limited to 'common/pango.c')
-rw-r--r--common/pango.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/pango.c b/common/pango.c
index f0b8db66..3bc97808 100644
--- a/common/pango.c
+++ b/common/pango.c
@@ -10,7 +10,7 @@
10#include "log.h" 10#include "log.h"
11#include "stringop.h" 11#include "stringop.h"
12 12
13static const char *overflow = "[buffer overflow]"; 13static const char overflow[] = "[buffer overflow]";
14static const int max_chars = 16384; 14static const int max_chars = 16384;
15 15
16size_t escape_markup_text(const char *src, char *dest) { 16size_t escape_markup_text(const char *src, char *dest) {