size improvements of file struct
This commit is contained in:
@@ -56,12 +56,12 @@
|
|||||||
/* complex types are good actually */
|
/* complex types are good actually */
|
||||||
typedef struct File {
|
typedef struct File {
|
||||||
char status;
|
char status;
|
||||||
char *file_name;
|
|
||||||
unsigned char file_type;
|
unsigned char file_type;
|
||||||
unsigned short color_pair;
|
unsigned short color_pair;
|
||||||
unsigned int permissions;
|
unsigned int permissions;
|
||||||
unsigned long file_name_width;
|
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 */
|
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;
|
} file;
|
||||||
typedef struct Color {
|
typedef struct Color {
|
||||||
char *file_extension;
|
char *file_extension;
|
||||||
|
Reference in New Issue
Block a user