diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/composer/composer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/composer/composer.cpp b/engines/composer/composer.cpp index 41afc13184..d3252d43b9 100644 --- a/engines/composer/composer.cpp +++ b/engines/composer/composer.cpp @@ -321,7 +321,7 @@ void ComposerEngine::loadLibrary(uint id) { bool inserted = false; for (Common::List<Button>::iterator b = newLib._buttons.begin(); b != newLib._buttons.end(); b++) { - if (button._zorder <= b->_zorder) + if (button._zorder < b->_zorder) continue; newLib._buttons.insert(b, button); inserted = true; |