Commit bf1ccb00 authored by claes's avatar claes

Bugfix in fchoix

parent 1fd1cab7
/* /*
* Proview $Id: wb_pvd_file.cpp,v 1.2 2005-10-25 12:04:25 claes Exp $ * Proview $Id: wb_pvd_file.cpp,v 1.3 2005-11-22 12:23:30 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
...@@ -104,6 +104,7 @@ void wb_pvd_file::createObject( wb_procom *pcom, pwr_tOix destoix, int desttype, ...@@ -104,6 +104,7 @@ void wb_pvd_file::createObject( wb_procom *pcom, pwr_tOix destoix, int desttype,
item.bwsoix = 0; item.bwsoix = 0;
item.fchoix = 0; item.fchoix = 0;
item.lchoix = 0; item.lchoix = 0;
m_list[0].fchoix = item.oix;
} }
else { else {
if ( destoix >= m_list.size() || destoix <= 0) { if ( destoix >= m_list.size() || destoix <= 0) {
......
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