X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/e1a449049f516296fe30b2286cd4a55a12cadbb2..5080469db3c8e85caa768da3f6d5b8050013900d:/PuzzleApplet.java diff --git a/PuzzleApplet.java b/PuzzleApplet.java index 23eda81..f401ecf 100644 --- a/PuzzleApplet.java +++ b/PuzzleApplet.java @@ -382,8 +382,6 @@ public class PuzzleApplet extends JApplet implements Runtime.CallJavaCB { int asc = fm.getAscent(), desc = fm.getDescent(); if ((xarg3 & ALIGN_VCENTRE) != 0) xarg2 += asc - (asc+desc)/2; - else - xarg2 += asc; int wid = fm.stringWidth(text); if ((xarg3 & ALIGN_HCENTRE) != 0) xarg1 -= wid / 2;