changeset: 1772:6ae7ba32da25
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Wed Feb 07 12:20:50 2007 -0500
files: draw.c mouse.c
description:
Remove returns of void functions from void functions.
diff -r 0b1850c5c63d -r 6ae7ba32da25 draw.c
--- a/draw.c Wed Feb 07 12:08:25 2007 -0500
+++ b/draw.c Wed Feb 07 12:20:50 2007 -0500
@@ -58,7 +58,8 @@ loadfont(Blitz *blitz, BlitzFont *font)
BLITZ_FONT);
free(font->fontstr);
font->fontstr = ixp_estrdup(BLITZ_FONT);
- return loadfont(blitz, font);
+ loadfont(blitz, font);
+ return;
}
font->ascent = font->xfont->ascent;
font->descent = font->xfont->descent;
diff -r 0b1850c5c63d -r 6ae7ba32da25 mouse.c
--- a/mouse.c Wed Feb 07 12:08:25 2007 -0500
+++ b/mouse.c Wed Feb 07 12:20:50 2007 -0500
@@ -330,8 +330,10 @@ do_mouse_resize(Client *c, BlitzAlign al
snap = floating ? screen->rect.height / 66 : 0;
cur = cursor[CurResize];
- if(!floating && (align == CENTER))
- return do_managed_move(c);
+ if(!floating && (align == CENTER)) {
+ do_managed_move(c);
+ return;
+ }
XQueryPointer(blz.dpy, c->framewin, &dummy, &dummy, &i, &i, &pt_x, &pt_y, &di);
rx = (float)pt_x / frect.width;
Received on Wed Feb 07 2007 - 18:30:04 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:54:58 UTC