Log Message:
-----------
fix for ID="0" bug?
Modified Files:
--------------
/cvsroot/decaldev/source/Inject:
View.cpp
Revision Data
-------------
Index: View.cpp
===================================================================
RCS file: /cvsroot/decaldev/source/Inject/View.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- View.cpp 30 Sep 2003 16:44:17 -0000 1.27
+++ View.cpp 2 Oct 2003 18:31:54 -0000 1.28
@@ -260,7 +260,7 @@
vID = pElement->getAttribute( _T( "ID" ) );
// check for lower case, since all other attributes are lower case. And
// Legiondale_Superman can't seem to get it right...
- if (vID.intVal == 0) {
+ if (vID.vt == VT_NULL ) {
vID = pElement->getAttribute( _T( "id" ) );
}
|