aboutsummaryrefslogtreecommitdiff
path: root/qmppresetselect.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-03 23:15:41 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-03 23:15:41 +0800
commit84634010422f578b27105bbbaf6b8ee4c1232e86 (patch)
tree022775f88c94d697bdce0b32ae32698c542b50ca /qmppresetselect.cpp
parentb886aa1fcafc16fe93bfe19e2f63b4089234f9f6 (diff)
downloadQMidiPlayer-84634010422f578b27105bbbaf6b8ee4c1232e86.tar.xz
Bad Apple. (WTF)
Diffstat (limited to 'qmppresetselect.cpp')
-rw-r--r--qmppresetselect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmppresetselect.cpp b/qmppresetselect.cpp
index 46c0e6d..d4dd38a 100644
--- a/qmppresetselect.cpp
+++ b/qmppresetselect.cpp
@@ -20,7 +20,7 @@ void qmpPresetSelector::showEvent(QShowEvent *e)
e->accept();memset(presets,0,sizeof(presets));
CMidiPlayer *plyr=qmpMainWindow::getInstance()->getPlayer();
int sfc=plyr->getSFCount();
- for(int i=0;i<sfc;++i)
+ for(int i=sfc-1;i>=0;--i)
{
fluid_sfont_t* psf=plyr->getSFPtr(i);
fluid_preset_t preset;