From 844808081c1fdab7d776a598e55c990510ed6773 Mon Sep 17 00:00:00 2001 From: dborth Date: Fri, 4 Dec 2009 21:49:26 +0000 Subject: [PATCH] scrollbar up/down buttons fixed --- source/ngc/gui/gui_filebrowser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ngc/gui/gui_filebrowser.cpp b/source/ngc/gui/gui_filebrowser.cpp index 6f38d95..bf28a10 100644 --- a/source/ngc/gui/gui_filebrowser.cpp +++ b/source/ngc/gui/gui_filebrowser.cpp @@ -267,13 +267,13 @@ void GuiFileBrowser::Update(GuiTrigger * t) if(arrowDownBtn->GetState() == STATE_HELD && arrowDownBtn->GetStateChan() == t->chan) { - t->wpad->btns_h |= WPAD_BUTTON_DOWN; + t->wpad->btns_d |= WPAD_BUTTON_DOWN; if(!this->IsFocused()) ((GuiWindow *)this->GetParent())->ChangeFocus(this); } else if(arrowUpBtn->GetState() == STATE_HELD && arrowUpBtn->GetStateChan() == t->chan) { - t->wpad->btns_h |= WPAD_BUTTON_UP; + t->wpad->btns_d |= WPAD_BUTTON_UP; if(!this->IsFocused()) ((GuiWindow *)this->GetParent())->ChangeFocus(this); }