From: <ma...@us...> - 2002-09-08 23:47:27
|
Update of /cvsroot/decaldev/source/DecalControls In directory usw-pr-cvs1:/tmp/cvs-serv10420 Modified Files: List.cpp Log Message: Initialize colors to white when allocating, prevents random color garbage. Index: List.cpp =================================================================== RCS file: /cvsroot/decaldev/source/DecalControls/List.cpp,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** List.cpp 7 Aug 2002 23:59:40 -0000 1.17 --- List.cpp 8 Sep 2002 23:47:24 -0000 1.18 *************** *** 550,553 **** --- 550,558 ---- return E_OUTOFMEMORY; } + + // Madar 9/8/2002: Initialize colors to white. + for (long loop = 0; loop < m_cols.size(); ++loop) { + rowData.m_colors[loop] = 0x00ffffff; + } } |