Commit 1e295499 authored by claes's avatar claes

Bugfix in Enum attributes

parent 5df5cf8f
/* /*
* Proview $Id: wb_wnav_item.cpp,v 1.19 2005-12-27 09:34:14 claes Exp $ * Proview $Id: wb_wnav_item.cpp,v 1.20 2006-05-16 11:51:59 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -2789,7 +2789,7 @@ int WItemAttrArrayElem::update() ...@@ -2789,7 +2789,7 @@ int WItemAttrArrayElem::update()
for ( int i = 0; i < rows; i++) { for ( int i = 0; i < rows; i++) {
if ( vd[i].Value->Value == if ( vd[i].Value->Value ==
* (pwr_tInt32 *)((char *) value + size * element)) { * (pwr_tInt32 *)((char *) value + size * element)) {
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