projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7f12cf
)
fix warning ā%sā directive output may be truncated writing up to 8191 bytes into...
author
Paul
<paul@claws-mail.org>
Tue, 24 Sep 2019 12:20:10 +0000
(13:20 +0100)
committer
Paul
<paul@claws-mail.org>
Tue, 24 Sep 2019 12:20:10 +0000
(13:20 +0100)
src/summaryview.c
patch
|
blob
|
history
diff --git
a/src/summaryview.c
b/src/summaryview.c
index 88c2c39c98d107d845e595a850bdeb6ec0a91d4c..c7a83578f636eea9776a9ced7ed1c6afcab01dfd 100644
(file)
--- a/
src/summaryview.c
+++ b/
src/summaryview.c
@@
-3565,7
+3565,7
@@
static inline void summary_set_header(SummaryView *summaryview, gchar *text[],
to_text = to_text ? to_text : _("(No From)");
}
}
- snprintf(tmp2, BUFFSIZE
-1
, "ā %s", to_text);
+ snprintf(tmp2, BUFFSIZE
+4
, "ā %s", to_text);
tmp2[BUFFSIZE-1]='\0';
text[col_pos[S_COL_FROM]] = tmp2;
}