summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/wps_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c
index 54f9f588bf..859e5eebe2 100644
--- a/apps/gui/wps_parser.c
+++ b/apps/gui/wps_parser.c
@@ -652,7 +652,7 @@ static int parse_viewport(const char *wps_bufptr,
if ((valid&(1<<PL_FG)) == 0)
vp->fg_pattern = global_settings.fg_color;
if ((valid&(1<<PL_BG)) == 0)
- vp->fg_pattern = global_settings.bg_color;
+ vp->bg_pattern = global_settings.bg_color;
}
#endif