summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-10-26 07:21:05 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-10-26 07:21:05 +0000
commit58c07fbfa8f51b28ef33d61ec9f505499b84109c (patch)
tree035286edd747f71d5d220930cc68b19a428dbf8f
parent03986d4ec73a5d1a03f35f250212420866f309a4 (diff)
downloadrockbox-58c07fbfa8f51b28ef33d61ec9f505499b84109c.tar.gz
rockbox-58c07fbfa8f51b28ef33d61ec9f505499b84109c.zip
FS#10724 - fix alignment issue in Codebuster by Clément Pit--Claudel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23357 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/codebuster.c2
1 files changed, 1 insertions, 1 deletions
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,
239} 239}
240 240
241static void draw_score(int line, struct mm_line* guess) { 241static void draw_score(int line, struct mm_line* guess) {
242 int cur_y = Y_MARGIN + 2 * line_h * line; 242 int cur_y = (Y_MARGIN + MARGIN) + 2 * line_h * line;
243 int l_margin = X_MARGIN + true_guess_w + MARGIN; 243 int l_margin = X_MARGIN + true_guess_w + MARGIN;
244 244
245 int tick = 0; 245 int tick = 0;