Commit 9b341166 authored by rswindell's avatar rswindell
Browse files

NULL terminate the area_sort_desc[] list (again).

parent df78c4d2
......@@ -55,7 +55,7 @@ char **opt;
char tmp[256];
char error[256];
int backup_level=5;
char* area_sort_desc[] = { "Index Position", "Long Name", "Short Name", "Internal Code" };
char* area_sort_desc[] = { "Index Position", "Long Name", "Short Name", "Internal Code", NULL };
char *invalid_code=
"`Invalid Internal Code:`\n\n"
......
......@@ -80,7 +80,7 @@ extern char *nulstr;
extern char *invalid_code,*num_flags;
extern int backup_level;
extern BOOL new_install;
char* area_sort_desc[AREA_SORT_TYPES];
char* area_sort_desc[AREA_SORT_TYPES+1];
/***********************/
/* Function Prototypes */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment