../gntwm.c:819:47: warning: ‘__builtin___snprintf_chk’ output may be
truncated before the last format character [-Wformat-truncation=]
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note:
‘__builtin___snprintf_chk’ output between 8 and 13 bytes into a
destination of size 12
Testing Done:
With this change, the compiler warning is eliminated.
gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(view),"this is the 4th line\n",GNT_TEXT_FLAG_NORMAL);
gnt_util_parse_xhtml_to_textview("<p><b>Ohoy hoy!!</b><br/><p>I think this is going to</p> <u> WORK!!! </u><a href='www.google.com'>check this out!!</a></p>",GNT_TEXT_VIEW(view));