(svn r15908) -Fix: off-by-one in viewport strings/flags; left + width != right
This commit is contained in:
		| @@ -1467,7 +1467,7 @@ static void ViewportDrawStrings(DrawPixelInfo *dpi, const StringSpriteToDrawVect | ||||
| 		} | ||||
|  | ||||
| 		DrawString( | ||||
| 			UnScaleByZoom(ss->x, zoom), UnScaleByZoom(ss->x, zoom) + w, UnScaleByZoom(ss->y, zoom) - (ss->width & 0x8000 ? 2 : 0), | ||||
| 			UnScaleByZoom(ss->x, zoom), UnScaleByZoom(ss->x, zoom) + w - 1, UnScaleByZoom(ss->y, zoom) - (ss->width & 0x8000 ? 2 : 0), | ||||
| 			ss->string, colour, SA_CENTER | ||||
| 		); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 rubidium
					rubidium