From 2113821e237995b9a749c367dc9db5db2fffd378 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Fri, 29 Mar 2013 05:52:12 -0400 Subject: Fix scrollers in file selectors after the previous commit. --- source/nds/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/nds/draw.c b/source/nds/draw.c index 56d5051..479d5e6 100644 --- a/source/nds/draw.c +++ b/source/nds/draw.c @@ -505,7 +505,7 @@ u32 draw_hscroll_init(void* screen_addr, u32 sx, u32 sy, u32 width, { u32 ret = hscroll_init(screen_addr, sx, sy, width, color_bg, color_fg, string); - draw_hscroll(index, 0 /* stay on the left */); + draw_hscroll(ret, 0 /* stay on the left */); return ret; } -- cgit v1.2.3