Merge branch 'master' into merge-job
[deliverable/binutils-gdb.git] / gdb / tui / tui-wingeneral.c
index dae4255ada2009e0cd3fdd68baffc20881d3782a..0a9fc5238d6121ca59a772bd8f5cb656a4774310 100644 (file)
@@ -55,9 +55,10 @@ box_win (struct tui_win_info *win_info,
 
   /* tui_apply_style resets the style entirely, so be sure to call it
      before applying ATTRS.  */
-  tui_apply_style (win, (highlight_flag
-                        ? tui_active_border_style.style ()
-                        : tui_border_style.style ()));
+  if (cli_styling)
+    tui_apply_style (win, (highlight_flag
+                          ? tui_active_border_style.style ()
+                          : tui_border_style.style ()));
   wattron (win, attrs);
 #ifdef HAVE_WBORDER
   wborder (win, tui_border_vline, tui_border_vline,
This page took 0.023018 seconds and 4 git commands to generate.