Mercurial > hg > nnchat
diff main.c @ 494:5d8116a410d1
Set editbuf dirty flag in few situations that didn't have it yet.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 27 May 2012 11:44:59 +0300 |
parents | 56689f94e827 |
children | cbbf502e4a70 |
line wrap: on
line diff
--- a/main.c Sun May 27 11:43:59 2012 +0300 +++ b/main.c Sun May 27 11:44:59 2012 +0300 @@ -1830,6 +1830,7 @@ while (editBuf->pos > 0 && !isspace((int) editBuf->data[editBuf->pos - 1])) editBuf->pos--; update = TRUE; + editBuf->dirty = TRUE; break; case 0x206: // ctrl+right arrow = Skip words right @@ -1839,6 +1840,7 @@ while (editBuf->pos < editBuf->len && !isspace((int) editBuf->data[editBuf->pos])) editBuf->pos++; update = TRUE; + editBuf->dirty = TRUE; break; case KEY_HOME: