aboutsummaryrefslogtreecommitdiff
path: root/source/nds
diff options
context:
space:
mode:
Diffstat (limited to 'source/nds')
-rw-r--r--source/nds/draw.c2
1 files changed, 1 insertions, 1 deletions
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;
}