diff options
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1181,7 +1181,7 @@ static int Go_Str_eprom_47(gchar** response, int channel, char *loc_string,char switch (command_type) { case command_param_units: - if ( (strlen(store_string) < LCD_cols) && (eprom_loc >= 0)) { + if ( (strlen(store_string) < sizeof(globals.Flash.model_num)) && (eprom_loc >= 0)) { int i; for (i=0; i<strlen(store_string); ++i) { /* convert ~ to spaces */ |