Commit 0cdef517 authored by Behdad Esfahbod's avatar Behdad Esfahbod

Minor.

svn path=/trunk/; revision=2353
parent 38cafc2a
......@@ -3204,7 +3204,7 @@ _vte_terminal_insert_char(VteTerminal *terminal, gunichar c,
/* Convert any wide characters we may have broken into single
* cells. (#514632) */
if (col > 0) {
if (G_LIKELY (col > 0)) {
glong col2 = col - 1;
struct vte_charcell *cell = _vte_row_data_find_charcell(row, col2);
while (cell != NULL && cell->attr.fragment && col2 > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment