summaryrefslogtreecommitdiff
path: root/com32/menu/background.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-07-22 13:01:25 -0400
committerH. Peter Anvin <hpa@zytor.com>2008-07-22 13:01:25 -0400
commitd5eb656b72ecb848a8ee6f2325544562fac86ba8 (patch)
tree22f6d880831116542de150fdc5dcc7452f5d0179 /com32/menu/background.c
parentb0c48fa752e102e4cff728e963a14c81f23a6022 (diff)
parenta8641f9842da20ad9c80ad28db8c10cdaaddfd55 (diff)
downloadsyslinux-gpxeiso.tar.gz
Merge branch 'master' into gpxeisogpxeiso
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;