<table><tr><td style="">mglb created this revision.<br />mglb added a reviewer: Konsole.<br />Restricted Application added a project: Konsole.<br />Restricted Application added a subscriber: konsole-devel.<br />mglb requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13080">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Add a few bytes to a small arrays on stack in order to make compiler<br />
happy. Those warnings are invalid in this context (as long as terminal<br />
width and height are not larger than 8-digits-long number).</p>

<p>BUG: 394565</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Build Konsole with GCC 8 and <tt style="background: #ebebeb; font-size: 13px;">-Wformat-truncation</tt> flag</li>
</ul>

<p>Expected result: no format-truncation warnings<br />
Actual result: three format-truncation warnings appear</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>BRANCH</strong><div><div>arc/silence-Wformat-truncation-warnings (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13080">https://phabricator.kde.org/D13080</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/Vt102Emulation.cpp</div></div></div><br /><div><strong>To: </strong>mglb, Konsole<br /><strong>Cc: </strong>konsole-devel, Konsole, herrold, ngraham, maximilianocuria, hindenburg<br /></div>