From 3b421b32bb529e77e144438b3158f2e2d0788c70 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Sun, 15 Aug 2004 19:34:37 +0000 Subject: [PATCH] Moved a semicolon outside of a declaration macro. --- edit/edit.c | 2 +- edit/editcmddef.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/edit/edit.c b/edit/edit.c index 1359bb594..b91a22d09 100644 --- a/edit/edit.c +++ b/edit/edit.c @@ -2129,7 +2129,7 @@ void edit_execute_key_command (WEdit *edit, int command, int char_for_insertion) edit->force |= REDRAW_PAGE; } -static const char * const shell_cmd[] = SHELL_COMMANDS_i +static const char * const shell_cmd[] = SHELL_COMMANDS_i; /* This executes a command at a lower level than macro recording. diff --git a/edit/editcmddef.h b/edit/editcmddef.h index 19c3e0c81..a5cc17161 100644 --- a/edit/editcmddef.h +++ b/edit/editcmddef.h @@ -158,7 +158,7 @@ it into the text, which is annoying. */ #define CK_Pipe_Block(i) (1000+(i)) -#define SHELL_COMMANDS_i {"/edit.indent.rc", "/edit.spell.rc", /* and so on */ 0}; +#define SHELL_COMMANDS_i {"/edit.indent.rc", "/edit.spell.rc", /* and so on */ 0 } #define CK_Macro(i) (2000+(i)) #define CK_Last_Macro CK_Macro(0x7FFF) #else