diff --git a/ve/ve0300.cpp b/ve/ve0300.cpp index 0bc74c9e1..352cfd4a6 100755 --- a/ve/ve0300.cpp +++ b/ve/ve0300.cpp @@ -1139,6 +1139,8 @@ void TMask_generator::load_table() s = f.line(); if (s.find("Version") > -1) s = f.line(); + if (s.find("File") > -1) + s = f.line(); int totitem = 0; while (s.find("Fields") > -1) { @@ -1146,13 +1148,13 @@ void TMask_generator::load_table() for (int i = 0; i < items; i++) { int pos = totitem + i; - if (strstr(s.get(i),"S0") != NULL) + if (strstr(s.get(i),"S0,") != NULL) s0pos = pos; - if (strstr(s.get(i),"I0") != NULL) + if (strstr(s.get(i),"I0,") != NULL) i0pos = pos; - if (strstr(s.get(i),"B0") != NULL) + if (strstr(s.get(i),"B0,") != NULL) b0pos = pos; - if (strstr(s.get(i),"B1") != NULL) + if (strstr(s.get(i),"B1,") != NULL) b1pos = pos; } totitem += items;