[Commits] [SCM] claws branch, master, updated. 3.17.4-39-g39a33a6e1

wwp at claws-mail.org wwp at claws-mail.org
Wed Oct 2 10:09:04 CET 2019


The branch, master has been updated
       via  39a33a6e1e95cab7b804257fdab4501d1b657699 (commit)
      from  7ccd621021bb90f177021312ff4a55ce66bd2784 (commit)

Summary of changes:
 src/mimeview.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 39a33a6e1e95cab7b804257fdab4501d1b657699
Author: wwp <subscript at free.fr>
Date:   Wed Oct 2 12:08:20 2019 +0200

    Get rid of a hardcoded define when the enum size can be automatically
    handled.

diff --git a/src/mimeview.c b/src/mimeview.c
index fe840f516..edc768dd6 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -63,9 +63,10 @@ typedef enum
 	COL_SIZE     = 1,
 	COL_NAME     = 2,
 	COL_DATA     = 3,
+	N_MIMEVIEW_COLUMNS
 } MimeViewColumnPos;
 
-#define N_MIMEVIEW_COLS	4
+#define N_MIMEVIEW_COLS	(N_MIMEVIEW_COLUMNS)
 
 static void mimeview_set_multipart_tree		(MimeView	*mimeview,
 						 MimeInfo	*mimeinfo,

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list