mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Ticket #3555: panel.h: define typedef list_type_t.
We use 'typedef' to make it conform with all other type declarations in that file. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
84c81f1f92
commit
162f8a9fa7
@ -27,13 +27,13 @@
|
||||
|
||||
/*** enums ***************************************************************************************/
|
||||
|
||||
enum list_types
|
||||
typedef enum
|
||||
{
|
||||
list_full, /* Name, size, perm/date */
|
||||
list_brief, /* Name */
|
||||
list_long, /* Like ls -l */
|
||||
list_user /* User defined */
|
||||
};
|
||||
} list_type_t;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
@ -93,7 +93,7 @@ typedef struct
|
||||
Widget widget;
|
||||
dir_list dir; /* Directory contents */
|
||||
|
||||
enum list_types list_type; /* listing type */
|
||||
list_type_t list_type; /* listing type */
|
||||
int active; /* If panel is currently selected */
|
||||
vfs_path_t *cwd_vpath; /* Current Working Directory */
|
||||
vfs_path_t *lwd_vpath; /* Last Working Directory */
|
||||
|
Loading…
Reference in New Issue
Block a user