Added missing buffer flush.
authorrodin <rodin@ddfedd41-794f-dd11-ae45-00112f111e67>
Tue, 18 May 2010 14:05:28 +0000 (14:05 +0000)
committerrodin <rodin@ddfedd41-794f-dd11-ae45-00112f111e67>
Tue, 18 May 2010 14:05:28 +0000 (14:05 +0000)
libchimara/event.c

index 366c18929905840e06345a8957d422c6f9702462..4089b79eaa3205017e153642f0f54418a4105d01 100644 (file)
@@ -150,7 +150,7 @@ glk_select(event_t *event)
        /* Flush all window buffers */
        winid_t win;
        for(win = glk_window_iterate(NULL, NULL); win != NULL; win = glk_window_iterate(win, NULL)) {
-               if(win->type == wintype_TextBuffer)
+               if(win->type == wintype_TextBuffer || win->type == wintype_TextGrid)
                        flush_window_buffer(win);
        }