Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205334
b: refs/heads/master
c: 63160f7
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Jul 27, 2010
1 parent ee757d4 commit 754d1ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 06daaaba7c211ca6a8227b9a54dbc86dd837f034
refs/heads/master: 63160f73e7baa6618f19d7681bcab5be5c557205
6 changes: 4 additions & 2 deletions trunk/tools/perf/util/newt.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,10 @@ static void ui_browser__reset_index(struct ui_browser *self)

static int ui_browser__show(struct ui_browser *self, const char *title)
{
if (self->form != NULL)
return 0;
if (self->form != NULL) {
newtFormDestroy(self->form);
newtPopWindow();
}
ui_browser__refresh_dimensions(self);
newtCenteredWindow(self->width + 2, self->height, title);
self->form = newt_form__new();
Expand Down

0 comments on commit 754d1ba

Please sign in to comment.