size improvements of file struct

This commit is contained in:
nova
2025-07-23 19:49:57 +02:00
parent a99a519834
commit af5a451ec2

View File

@@ -56,12 +56,12 @@
/* complex types are good actually */
typedef struct File {
char status;
char *file_name;
unsigned char file_type;
unsigned short color_pair;
unsigned int permissions;
unsigned long file_name_width;
unsigned long file_size; /*if its a file, its in bytes, if its a dir, its the count of files within that dir */
char *file_name;
} file;
typedef struct Color {
char *file_extension;