diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-01-03 23:15:41 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-01-03 23:15:41 +0800 |
commit | 84634010422f578b27105bbbaf6b8ee4c1232e86 (patch) | |
tree | 022775f88c94d697bdce0b32ae32698c542b50ca /qmppresetselect.cpp | |
parent | b886aa1fcafc16fe93bfe19e2f63b4089234f9f6 (diff) | |
download | QMidiPlayer-84634010422f578b27105bbbaf6b8ee4c1232e86.tar.xz |
Bad Apple. (WTF)
Diffstat (limited to 'qmppresetselect.cpp')
-rw-r--r-- | qmppresetselect.cpp | 2 |
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; |