git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@134
ddfedd41-794f-dd11-ae45-
00112f111e67
gchar *tag_name = get_tag_name(styl);
/* Iterate over all the window and update their styles if nessecary */
- winid_t win = glk_window_iterate(NULL, NULL);
- while(win != NULL) {
+ winid_t win;
+ for(win = glk_window_iterate(NULL, NULL); win; win = glk_window_iterate(win, NULL)) {
if(wintype != wintype_TextBuffer)
continue; /* FIXME: add support for text grid windows */