summaryrefslogtreecommitdiff
path: root/com32/menu/background.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/menu/background.c')
-rw-r--r--com32/menu/background.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/menu/background.c b/com32/menu/background.c
index 49839cdc..fa034418 100644
--- a/com32/menu/background.c
+++ b/com32/menu/background.c
@@ -18,7 +18,7 @@ const char *current_background = NULL;
void set_background(const char *new_background)
{
- if (!current_background ||
+ if (!current_background || !new_background ||
strcmp(current_background, new_background)) {
draw_background(new_background);
current_background = new_background;