Fix access beyond array bounds
[claws.git] / src / toolbar.h
index f0cd8c8659e3f4473a5270020d3a79f711a08653..7eebad2f9ceb4af322d446f63bf1eaf985387e64 100644 (file)
@@ -34,6 +34,8 @@ typedef enum {
        TOOLBAR_MSGVIEW
 } ToolbarType;
 
+#define NUM_TOOLBARS   3
+
 typedef enum 
 {
        COMPOSEBUTTON_MAIL,