mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
plugins: fix dangling sbs_title pointer
Change-Id: Ief2a5dde8760e55524a74b482079a2a9ebafece9
This commit is contained in:
parent
28fa9ca760
commit
b04fd3efed
1 changed files with 5 additions and 0 deletions
|
|
@ -48,6 +48,7 @@
|
|||
#include "file.h"
|
||||
#include "core_keymap.h"
|
||||
#include "language.h"
|
||||
#include "statusbar-skinned.h"
|
||||
|
||||
#if CONFIG_CHARGING
|
||||
#include "power.h"
|
||||
|
|
@ -1065,6 +1066,10 @@ int plugin_load(const char* plugin, const void* parameter)
|
|||
FOR_NB_SCREENS(i)
|
||||
viewportmanager_theme_undo(i, true);
|
||||
}
|
||||
else
|
||||
/* fix dangling sbs_title pointer */
|
||||
FOR_NB_SCREENS(i)
|
||||
sb_set_title_text(NULL, Icon_NOICON, i);
|
||||
|
||||
plugin_check_open_close__exit();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue