2019-12-09 07:11 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000235Spring engineGeneralpublic2006-07-06 20:43
Reporteralphabeta 
Assigned Totvo 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000235: crash in svn
DescriptionUnitDrawer.cpp has a bad dereference (checks for equality in finds instead of for end), crashes in vs8 at least
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • patch file icon UnitDrawer.cpp.patch (413 bytes) 2006-07-06 09:08 -
    Index: UnitDrawer.cpp
    ===================================================================
    --- UnitDrawer.cpp	(revision 1577)
    +++ UnitDrawer.cpp	(working copy)
    @@ -354,7 +354,7 @@
     
     	// Is the unit selected? Then draw it white.
     	set<CUnit*>::iterator ui=selectedUnits.selectedUnits.find(unit);
    -	if(*ui==unit){
    +	if(ui!=selectedUnits.selectedUnits.end()){
     		color[0]=255;
     		color[1]=255;
     		color[2]=255;
    
    patch file icon UnitDrawer.cpp.patch (413 bytes) 2006-07-06 09:08 +

-Relationships
+Relationships

-Notes

~0000286

tvo (reporter)

patch committed
+Notes

-Issue History
Date Modified Username Field Change
2006-07-06 09:08 alphabeta New Issue
2006-07-06 09:08 alphabeta File Added: UnitDrawer.cpp.patch
2006-07-06 20:43 tvo Status new => assigned
2006-07-06 20:43 tvo Assigned To => tvo
2006-07-06 20:43 tvo Status assigned => resolved
2006-07-06 20:43 tvo Resolution open => fixed
2006-07-06 20:43 tvo Note Added: 0000286
+Issue History