summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:14:14 +0900
committerroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:14:14 +0900
commit347f3f886ea54470f340def6a7af981f5845cc01 (patch)
treeee0b53caff48b05e0b18af074daa1a0c33dc38c4 /parser.c
parentf4bf2894fa2e1b05958f0828d932e9068bc9b828 (diff)
Allow 64-char model numbersINSTRUMENT_6_0_10
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 831e0aa..434fca6 100644
--- a/parser.c
+++ b/parser.c
@@ -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 */