Commit ffdc080e authored by Claes Sjofors's avatar Claes Sjofors

wb, erroneous error message removed

parent f33c8fbb
...@@ -1187,6 +1187,7 @@ void Wtt::activate_paste() ...@@ -1187,6 +1187,7 @@ void Wtt::activate_paste()
pwr_tObjName name; pwr_tObjName name;
pwr_tCid prev_cid, cid; pwr_tCid prev_cid, cid;
int size; int size;
pwr_tStatus lsts;
sts = ldh_GetObjectClass( wnav->ldhses, prev, &prev_cid); sts = ldh_GetObjectClass( wnav->ldhses, prev, &prev_cid);
if ( EVEN(sts)) return; if ( EVEN(sts)) return;
...@@ -1199,8 +1200,8 @@ void Wtt::activate_paste() ...@@ -1199,8 +1200,8 @@ void Wtt::activate_paste()
&size); &size);
if ( EVEN(sts)) return; if ( EVEN(sts)) return;
sts = cdh_NextObjectName( name, name); lsts = cdh_NextObjectName( name, name);
if ( ODD(sts)) if ( ODD(lsts))
sts = ldh_SetObjectName( wnav->ldhses, oid, name); sts = ldh_SetObjectName( wnav->ldhses, oid, name);
} }
} }
......
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