aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib/panel.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-11-27 17:04:08 +0300
committerJoursoir <chat@joursoir.net>2021-11-27 17:04:08 +0300
commitd5212c2a4b474f65ea232ca0f29517dcc7e76941 (patch)
tree9b5f01bd9655e2fb288a3d7faca40657905d6e2a /Library/UefiShellUfmCommandLib/panel.h
parentf031dc9d65df69a74efa9a2021fcdecd59b79702 (diff)
downloadufm-d5212c2a4b474f65ea232ca0f29517dcc7e76941.tar.gz
ufm-d5212c2a4b474f65ea232ca0f29517dcc7e76941.tar.bz2
ufm-d5212c2a4b474f65ea232ca0f29517dcc7e76941.zip
panel: use 'cwd' as non-const variable
Diffstat (limited to 'Library/UefiShellUfmCommandLib/panel.h')
-rw-r--r--Library/UefiShellUfmCommandLib/panel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/UefiShellUfmCommandLib/panel.h b/Library/UefiShellUfmCommandLib/panel.h
index 17a3469..2706dd6 100644
--- a/Library/UefiShellUfmCommandLib/panel.h
+++ b/Library/UefiShellUfmCommandLib/panel.h
@@ -9,12 +9,12 @@ struct dir_list;
struct fs_array;
struct panel_ctx {
- BOOLEAN show_fs; // is filesystems showing now?
struct window *wbg; // static window
struct window *wcwd, *wlist, *wfname, *wmarked; // dynamic windows
UINTN name_cols;
- CONST CHAR16 *cwd; // current work directory
+ CHAR16 *cwd; // current work directory
+ // if cwd == NULL then we are showing filesystems now
UINTN curline; // current line
struct dir_list *dirs; // directory contents