From 58c07fbfa8f51b28ef33d61ec9f505499b84109c Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 26 Oct 2009 07:21:05 +0000 Subject: FS#10724 - fix alignment issue in Codebuster by Clément Pit--Claudel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23357 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/codebuster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/codebuster.c b/apps/plugins/codebuster.c index e63c884a74..2de1ce3b4d 100644 --- a/apps/plugins/codebuster.c +++ b/apps/plugins/codebuster.c @@ -239,7 +239,7 @@ static void draw_guess(int line, struct mm_line* guess, int cur_guess, } static void draw_score(int line, struct mm_line* guess) { - int cur_y = Y_MARGIN + 2 * line_h * line; + int cur_y = (Y_MARGIN + MARGIN) + 2 * line_h * line; int l_margin = X_MARGIN + true_guess_w + MARGIN; int tick = 0; -- cgit v1.2.3