[Pkg-wmaker-commits] [wmix] 32/44: Remove trailing whitespace.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Sep 29 10:40:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository wmix.

commit 22717ccab3642c4a415069f083e16a4bd7591860
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sun Oct 5 10:29:59 2014 -0500

    Remove trailing whitespace.
---
 NEWS   |  2 +-
 README |  6 +++---
 ui_x.c | 18 +++++++++---------
 wmix.c |  4 ++--
 4 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/NEWS b/NEWS
index 427423d..5d9a307 100644
--- a/NEWS
+++ b/NEWS
@@ -55,7 +55,7 @@ I will add 2 more signal handlers to switch the current "channel" back and
 forth.
 
 2.02 NEWS:
-Version 2.02 adds mouse wheel support to adjust volume, thanks to the 
+Version 2.02 adds mouse wheel support to adjust volume, thanks to the
 patch from Gilles QUERRET <gilles.querret at free.fr>.  Now instead of
 dragging the knob, you can use your mouse wheel to adjust the current channel
 volume.  Position the cursor anywhere on the dockapp, and move the wheel.
diff --git a/README b/README
index ca8c295..0465b46 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-                    _        _____  ___  
+                    _        _____  ___
 __      ___ __ ___ (_)_  __ |___ / /__ \    timecop at japan.co.jp
 \ \ /\ / / '_ ` _ \| \ \/ /   |_ \   _| |   skunk at mit.edu
  \ V  V /| | | | | | |>  <   ___) | / _/
@@ -40,7 +40,7 @@ How to use it:
 4) Clicking MUTE will mute the current channel. Old volume settings are
    remembered, so clicking it again will un-mute. Also see the knob section
    because there is more than one way to do it :)
-   
+
 5) Clicking <- will switch to previous channel
 
 6) Clicking -> will switch to next channel
@@ -53,7 +53,7 @@ How to use it:
    right to set balance. Click on the slider, and drag the mouse left or
    right to adjust. Double-clicking on the slider will center the balance.
    If you are on a mono channel, the slider doesn't move or do anything.
-   
+
 9) Ah, yes, the knob. One of the biggest visual differences since version
    2.x of WMix is that the knob now rendered in real-time opposed to switching
    pixmaps with various knob angles. Bow down to Daniel Richard G. for coming
diff --git a/ui_x.c b/ui_x.c
index 1425f5c..2ab337e 100644
--- a/ui_x.c
+++ b/ui_x.c
@@ -324,7 +324,7 @@ void new_window(char *name, int width, int height)
     norm_cursor = XCreateFontCursor(display, XC_left_ptr);
     bar_cursor = XCreateFontCursor(display, XC_sb_up_arrow);
     null_cursor = create_null_cursor(display);
-    
+
     XMapWindow(display, win);
 }
 
@@ -370,20 +370,20 @@ void new_osd(int width, int height)
     gcval.graphics_exposures = 0;
 
     /*
-     * -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1 
+     * -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1
      * -misc-fixed-medium-r-normal--36-*-75-75-c-*-iso8859-* */
 
     /* try our cool scaled 36pt fixed font */
     fs = XLoadQueryFont(display,
 	    "-misc-fixed-medium-r-normal--36-*-75-75-c-*-iso8859-*");
-    
+
     if (fs == NULL) {
 	/* they don't have it! */
 	/* try our next preferred font (100dpi sony) */
 	fprintf(stderr, "Trying alternate font\n");
 	fs = XLoadQueryFont(display,
 		"-sony-fixed-medium-r-normal--24-*-100-100-c-*-iso8859-*");
-	
+
 	/* they don't have the sony font either */
 	if (fs == NULL) {
 	    fprintf(stderr, "Trying \"fixed\" font\n");
@@ -397,7 +397,7 @@ void new_osd(int width, int height)
 	    }
 	}
     }
-    
+
     gc =
 	XCreateGC(display, osd,
 		  GCForeground | GCBackground | GCGraphicsExposures,
@@ -515,7 +515,7 @@ static void draw_percent(void)
     int volume = (int)(mixer_get_volume() * 100);
 
     copy_xpm_area(0, 87, 18, 9, 41, 22);	/* clear percentage */
-    
+
     if (volume < 100) {
 	if (volume >= 10)
 	    copy_xpm_area((volume / 10) * 6, 67, 6, 9, 47, 22);
@@ -537,7 +537,7 @@ static void draw_knob(float volume)
 
     led_x = KNOB_CENTER_X + LED_POS_RADIUS * cos(bearing);
     led_y = KNOB_CENTER_Y - LED_POS_RADIUS * sin(bearing);
-    
+
     led_topleft_x = (int)(led_x - (LED_WIDTH / 2.0) + 0.5);
     led_topleft_y = (int)(led_y - (LED_HEIGHT / 2.0) + 0.5);
 
@@ -569,7 +569,7 @@ static Cursor create_null_cursor(Display *x_display)
     GC gc;
     XColor dummy_color;
     Cursor cursor;
-    
+
     cursor_mask = XCreatePixmap(x_display, DefaultRootWindow(x_display), 1, 1, 1);
     gcval.function = GXclear;
     gc = XCreateGC(x_display, cursor_mask, GCFunction, &gcval);
@@ -581,7 +581,7 @@ static Cursor create_null_cursor(Display *x_display)
 		&dummy_color, &dummy_color, 0, 0);
     XFreePixmap(x_display, cursor_mask);
     XFreeGC(x_display, gc);
-    
+
     return cursor;
 }
 
diff --git a/wmix.c b/wmix.c
index 9289f55..b2ff99f 100644
--- a/wmix.c
+++ b/wmix.c
@@ -325,7 +325,7 @@ static void button_release_event(XButtonEvent *event)
 
     if (region == 1)
 	set_cursor(HAND_CURSOR);
-    
+
     button_pressed = false;
     slider_pressed = false;
 }
@@ -372,7 +372,7 @@ static void motion_event(XMotionEvent *event)
 			mouse_drag_home_x, mouse_drag_home_y);
 	return;
     }
-    
+
     if (region == 1)
 	set_cursor(HAND_CURSOR);
     else if (region == 2)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmix.git



More information about the Pkg-wmaker-commits mailing list