Commit 2458cc00 authored by Claes Sjofors's avatar Claes Sjofors

Class editor syntax fix for not filled in pgmname

parent 2bf880f6
......@@ -2176,6 +2176,7 @@ void wb_vrepmem::classeditorCheckCommit()
case pwr_eClass_Buffer:
case pwr_eClass_ObjXRef:
case pwr_eClass_AttrXRef: {
if ( strcmp( ((pwr_sParam *)o3->rbody)->Info.PgmName, "") != 0) {
int found = 0;
for ( unsigned int i = 0; i < pgmname_vect.size(); i++) {
if ( strcmp( pgmname_vect[i].c_str(), ((pwr_sParam *)o3->rbody)->Info.PgmName) == 0) {
......@@ -2191,7 +2192,7 @@ void wb_vrepmem::classeditorCheckCommit()
string str(((pwr_sParam *)o3->rbody)->Info.PgmName);
pgmname_vect.push_back(str);
}
}
break;
}
default: ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment