ui: fixes registration callback

This commit is contained in:
2026-03-10 18:51:57 +02:00
parent 791c3055ba
commit e7292f7f54
2 changed files with 42 additions and 31 deletions
+2 -1
View File
@@ -250,7 +250,7 @@ int32_t draw_dialogue(dialogue_t *d) {
/* background */
for (int yp = 1; yp < d->w.sz.y - 1; yp++) {
mvwprintw(d->win, yp, 1, "%*s", d->w.sz.x, "");
mvwprintw(d->win, yp, 1, "%*s", (int)d->w.sz.x, "");
}
/* title */
@@ -309,5 +309,6 @@ void destroy_dialogue(dialogue_t *d, void *_app) {
app->active_win = app->left_win;
app->active_callback = file_list_cb;
app->query_args->active_dialogue = NULL;
free_d_arr(&(d->id_map));
app_refresh(app);
}