From 458cc06d24ab443d7acab5ed301a313fbec42052 Mon Sep 17 00:00:00 2001 From: dborth Date: Wed, 4 Nov 2009 21:31:28 +0000 Subject: [PATCH] --- source/ngc/gui/gui_trigger.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/ngc/gui/gui_trigger.cpp b/source/ngc/gui/gui_trigger.cpp index d120d75..06a4165 100644 --- a/source/ngc/gui/gui_trigger.cpp +++ b/source/ngc/gui/gui_trigger.cpp @@ -166,7 +166,7 @@ bool GuiTrigger::Left() || pad.btns_d & PAD_BUTTON_LEFT) { prev[chan] = gettime(); - delay[chan] = SCROLLL_DELAY_INITIAL; // reset scroll delay + delay[chan] = SCROLL_DELAY_INITIAL; // reset scroll delay return true; } @@ -176,7 +176,7 @@ bool GuiTrigger::Left() { prev[chan] = now[chan]; - if(delay[chan] == SCROLLL_DELAY_INITIAL) + if(delay[chan] == SCROLL_DELAY_INITIAL) delay[chan] = SCROLL_DELAY_LOOP; else if(delay[chan] > SCROLL_DELAY_DECREASE) delay[chan] -= SCROLL_DELAY_DECREASE; @@ -199,7 +199,7 @@ bool GuiTrigger::Right() || pad.btns_d & PAD_BUTTON_RIGHT) { prev[chan] = gettime(); - delay[chan] = SCROLLL_DELAY_INITIAL; // reset scroll delay + delay[chan] = SCROLL_DELAY_INITIAL; // reset scroll delay return true; } @@ -209,7 +209,7 @@ bool GuiTrigger::Right() { prev[chan] = now[chan]; - if(delay[chan] == SCROLLL_DELAY_INITIAL) + if(delay[chan] == SCROLL_DELAY_INITIAL) delay[chan] = SCROLL_DELAY_LOOP; else if(delay[chan] > SCROLL_DELAY_DECREASE) delay[chan] -= SCROLL_DELAY_DECREASE; @@ -232,7 +232,7 @@ bool GuiTrigger::Up() || pad.btns_d & PAD_BUTTON_UP) { prev[chan] = gettime(); - delay[chan] = SCROLLL_DELAY_INITIAL; // reset scroll delay + delay[chan] = SCROLL_DELAY_INITIAL; // reset scroll delay return true; } @@ -265,7 +265,7 @@ bool GuiTrigger::Down() || pad.btns_d & PAD_BUTTON_DOWN) { prev[chan] = gettime(); - delay[chan] = SCROLLL_DELAY_INITIAL; // reset scroll delay + delay[chan] = SCROLL_DELAY_INITIAL; // reset scroll delay return true; } @@ -275,7 +275,7 @@ bool GuiTrigger::Down() { prev[chan] = now[chan]; - if(delay[chan] == SCROLLL_DELAY_INITIAL) + if(delay[chan] == SCROLL_DELAY_INITIAL) delay[chan] = SCROLL_DELAY_LOOP; else if(delay[chan] > SCROLL_DELAY_DECREASE) delay[chan] -= SCROLL_DELAY_DECREASE;