From b1c33d8e76b0708faabefaed012201648287eca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sat, 25 Feb 2006 22:27:11 +0000 Subject: [PATCH] removed unneeded constant GEANY_MAX_PATTERNS git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@221 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- src/filetypes.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/filetypes.h b/src/filetypes.h index 64c71097..3024c631 100644 --- a/src/filetypes.h +++ b/src/filetypes.h @@ -25,8 +25,6 @@ #define GEANY_FILETYPES_H 1 -#define GEANY_MAX_PATTERNS 10 // describes the count of supported extensions per filetype - enum { GEANY_FILETYPES_C = 0, @@ -59,7 +57,7 @@ typedef struct filetype gboolean has_tags; // indicates whether there is a tag parser for it or not gchar *title; // will be shown in the file open dialog gchar *extension; - gchar *pattern[GEANY_MAX_PATTERNS]; + gchar **pattern; void (*style_func_ptr) (ScintillaObject*); } filetype;