updated Readme

This commit is contained in:
vurtun 2015-05-04 09:26:48 +02:00
parent 2eebb92bd5
commit f553ae65d5
1 changed files with 3 additions and 2 deletions

View File

@ -322,10 +322,11 @@ while (1) {
/* draw each panel */
struct gui_panel *iter = stack.begin;
while (iter) {
const struct gui_command *cmd = gui_list_begin(&list);
const struct gui_window *w = iter;
const struct gui_command *cmd = gui_list_begin(&w->list);
while (cmd) {
/* execute command */
cmd = gui_list_next(&list, cmd);
cmd = gui_list_next(&w->list, cmd);
}
iter = iter->next;
}