Commit f5aa0e57 authored by claes's avatar claes

Bugfix in enum

parent a413aed6
...@@ -1257,7 +1257,7 @@ int WItemAttr::update() ...@@ -1257,7 +1257,7 @@ int WItemAttr::update()
if ( ODD(sts)) { if ( ODD(sts)) {
for ( int i = 0; i < rows; i++) { for ( int i = 0; i < rows; i++) {
if ( vd[i].Value->Value == *(pwr_tInt32 *)value) { if ( vd[i].Value->Value == *(pwr_tInt32 *)value) {
strcpy( buff, vd[i].Value->Text); strcpy( buf, vd[i].Value->Text);
buff = buf; buff = buf;
len = strlen(buf); len = strlen(buf);
found = true; found = true;
......
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