diff options
author | Joursoir <chat@joursoir.net> | 2021-11-30 17:56:09 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-11-30 17:56:09 +0300 |
commit | 1dbe90c11b327d5aa0071dc55305859d42258ad3 (patch) | |
tree | 4cdf527df32a87bfd02fdda7818b85c4f8ea3949 /Library | |
parent | dcb8f1393ef299df31044593a2f1a178b18d7f4f (diff) | |
download | ufm-1dbe90c11b327d5aa0071dc55305859d42258ad3.tar.gz ufm-1dbe90c11b327d5aa0071dc55305859d42258ad3.tar.bz2 ufm-1dbe90c11b327d5aa0071dc55305859d42258ad3.zip |
panel: fix typos in allocation
Diffstat (limited to 'Library')
-rw-r--r-- | Library/UefiShellUfmCommandLib/panel.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/UefiShellUfmCommandLib/panel.c b/Library/UefiShellUfmCommandLib/panel.c index c76fb55..450d73b 100644 --- a/Library/UefiShellUfmCommandLib/panel.c +++ b/Library/UefiShellUfmCommandLib/panel.c @@ -246,12 +246,10 @@ struct panel_ctx *panel_alloc(struct screen *scr, CONST CHAR16 *path, } panel->name_cols = name_cols; - panel->curline = 1; panel->list_lines = lines - 5; - panel->start_entry = 1; wrefresh(panel->wbg); - res = panel_show(panel, path); + res = panel_cd_to(panel, path); if(!res) { panel_release(panel); return NULL; |