Fixed missing break statement in DrawBatch(); spotted by Alex

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1879 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2005-09-27 04:25:06 +00:00
parent 0da57ef17c
commit a13a1ce827
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
Changes towards version 0.5:
- Added missing break statement in DrawBatch:RECT_PRIM - Alex
- Setup menu split into four submenus - Michael
- Fixed fallback in getHomeDir() for when $HOME is not defined on *nix
- SvdB
+1
View File
@@ -178,6 +178,7 @@ DrawBatch (PPRIMITIVE lpBasePrim, PRIM_LINKS PrimLinks,
case RECT_PRIM:
COLORtoPalette (GetPrimColor (lpWorkPrim), &color);
TFB_Prim_Rect (&lpWorkPrim->Object.Rect, &color);
break;
case RECTFILL_PRIM:
COLORtoPalette (GetPrimColor (lpWorkPrim), &color);
TFB_Prim_FillRect (&lpWorkPrim->Object.Rect, &color);