[Aptitude-svn-commit] r3334 - in branches/aptitude-0.3/aptitude: . src/vscreen

Daniel Burrows dburrows@costa.debian.org
Mon, 06 Jun 2005 21:31:28 +0000


Author: dburrows
Date: Mon Jun  6 21:31:25 2005
New Revision: 3334

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/vscreen/vscreen.cc
Log:
Remove some pointless NOP function calls.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Mon Jun  6 21:31:25 2005
@@ -1,5 +1,9 @@
 2005-06-06  Daniel Burrows  <dburrows@debian.org>
 
+	* src/vscreen/vscreen.cc:
+
+	Remove some uses of the NOP style_attrs_on(0).
+
 	* src/vscreen/config/style.h:
 
 	Fix the composition of styles by including information from both

Modified: branches/aptitude-0.3/aptitude/src/vscreen/vscreen.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vscreen.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vscreen.cc	Mon Jun  6 21:31:25 2005
@@ -300,7 +300,7 @@
 
   // The 'base' style for the display.
   set_style("Default",
-	    style_fg(COLOR_WHITE)+style_bg(COLOR_BLACK)+style_attrs_on(0));
+	    style_fg(COLOR_WHITE)+style_bg(COLOR_BLACK));
 
   set_style("Header",
 	    style_fg(COLOR_WHITE)+style_bg(COLOR_BLUE)+style_attrs_on(A_BOLD));
@@ -320,7 +320,7 @@
   set_style("MultiplexTabHighlighted", style_attrs_flip(A_REVERSE));
 
   // Edit lines will *always* appear white-on-black.
-  set_style("EditLine", style_fg(COLOR_WHITE)+style_bg(COLOR_BLACK)+style_attrs_on(0));
+  set_style("EditLine", style_fg(COLOR_WHITE)+style_bg(COLOR_BLACK));
 
   set_style("WidgetFrame", style_fg(COLOR_WHITE)+style_bg(COLOR_BLACK));