Skip to content

Commit a33520a

Browse files
committed
Is #663 - Add language limit for 'Haiku' gcc 2.95
1 parent 723c28a commit a33520a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/language.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@
2222

2323
/**
2424
* This structure type provides universal access to all of Tidy's strings.
25+
* Note arbitrary limit of 256, to be changed if more...
2526
*/
2627
typedef struct {
2728
Bool manually_set;
2829
languageDefinition *currentLanguage;
2930
languageDefinition *fallbackLanguage;
30-
languageDefinition *languages[];
31+
languageDefinition *languages[256];
3132
} tidyLanguagesType;
3233

3334

0 commit comments

Comments
 (0)