changeset 1794:4d2a5c9adc96 trunk

[svn] - this should be a continue not a return (oops)
author nenolod
date Wed, 04 Oct 2006 19:47:24 -0700
parents 1ccc69c49768
children c9032deca2fd
files ChangeLog audacious/widgets/widget.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Oct 04 19:45:14 2006 -0700
+++ b/ChangeLog	Wed Oct 04 19:47:24 2006 -0700
@@ -1,3 +1,11 @@
+2006-10-05 02:45:14 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2543]
+  - do not draw widgets which are invisible (performance tweak)
+  
+  trunk/audacious/widgets/widget.c |    3 +++
+  1 file changed, 3 insertions(+)
+
+
 2006-10-05 02:39:30 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2541]
   - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints
--- a/audacious/widgets/widget.c	Wed Oct 04 19:45:14 2006 -0700
+++ b/audacious/widgets/widget.c	Wed Oct 04 19:47:24 2006 -0700
@@ -118,7 +118,7 @@
 widget_draw(Widget * widget)
 {
     if (widget->visible == FALSE)
-	continue;
+	return;
 
     widget_lock(widget);
     WIDGET(widget)->redraw = TRUE;