standards unconformant C++ compilers (such as msvs 6.0) dont like

two for loops with the same varaible name in the same scope
This commit is contained in:
Jeff Hill
2005-11-14 16:29:48 +00:00
parent f01f981e54
commit fbc257c9a2

View File

@@ -1105,8 +1105,8 @@ static int mapGraphicGddToEnum (
enumStringTable.getString ( i,
&(db->strs[i][0]), MAX_ENUM_STRING_SIZE );
}
for ( int i = db->no_str; i < MAX_ENUM_STATES; i++ ) {
db->strs[i][0] = '\0';
for ( int j = db->no_str; j < MAX_ENUM_STATES; j++ ) {
db->strs[j][0] = '\0';
}
return mapGddToEnum ( &db->value,
count, vdd, enumStringTable );