diff options
author | root <root@avtech.domain.avtechpulse.com> | 1970-01-01 09:14:14 +0900 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1970-01-01 09:14:14 +0900 |
commit | 347f3f886ea54470f340def6a7af981f5845cc01 (patch) | |
tree | ee0b53caff48b05e0b18af074daa1a0c33dc38c4 /parser.c | |
parent | f4bf2894fa2e1b05958f0828d932e9068bc9b828 (diff) |
Allow 64-char model numbersINSTRUMENT_6_0_10
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 */ |