From 761100beb03732e26b39bd7dcce94cd5d4f96140 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 15 Feb 2019 00:10:25 +0100 Subject: [PATCH] remove Main.filename Main.file_directory and Main.filename_unicode they are not used anymore --- src/struct.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/struct.h b/src/struct.h index 610ed3a2..7e32c354 100644 --- a/src/struct.h +++ b/src/struct.h @@ -574,14 +574,8 @@ typedef struct short offset_X; /// Y position (in image space) of the pixel to display in the top left corner of screen. short offset_Y; - /// Name of the directory that holds the image currently edited as page. - char file_directory[MAX_PATH_CHARACTERS]; - /// Filename (without directory) of the image currently edited as page. - char filename[MAX_PATH_CHARACTERS]; - /// Filename in unicode - word filename_unicode[MAX_PATH_CHARACTERS]; /// File format of the image currently edited as page. It's a value of enum ::FILE_FORMATS - byte fileformat; + enum FILE_FORMATS fileformat; /// File selector settings T_Selector_settings selector; /// X position (in screen coordinates) of the separator between normal and magnified views.