From 7dc96659f5a627e9ff98e8d06fa25c4f0611b730 Mon Sep 17 00:00:00 2001 From: freebipman Date: Thu, 27 Aug 2020 09:28:12 +1000 Subject: [PATCH] CHG: Force update --- src/BipEmulator.Host/FtMaker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BipEmulator.Host/FtMaker.cs b/src/BipEmulator.Host/FtMaker.cs index 2974c9c..4ed1f0c 100644 --- a/src/BipEmulator.Host/FtMaker.cs +++ b/src/BipEmulator.Host/FtMaker.cs @@ -31,8 +31,8 @@ namespace BipEmulator.Host public void TextOutCenter(Bitmap bmp, string text, int x, int y, Color fgColor, Color bgColor, bool bgTransparent = false) { - var w = GetTextWidth(text); var h = GetTextHeight(); + var w = GetTextWidth(text); TextOut(bmp, text, x - w / 2, y, fgColor, bgColor, bgTransparent); }