[Pkg-wmaker-commits] [wmbiff] 23/32: minor warning cleanups

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:00:38 UTC 2015


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

dtorrance-guest pushed a commit to tag wmbiff_0_3_8
in repository wmbiff.

commit 2241bca50cac05a6b4a1a331548cb56d851a77d3
Author: bluehal <bluehal>
Date:   Sat Mar 9 08:03:32 2002 +0000

    minor warning cleanups
---
 wmgeneral/list.h      |  2 +-
 wmgeneral/wmgeneral.c | 16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/wmgeneral/list.h b/wmgeneral/list.h
index af0f22c..5ea8ee2 100644
--- a/wmgeneral/list.h
+++ b/wmgeneral/list.h
@@ -44,7 +44,7 @@ INLINE LinkedList* list_cons(void* head, LinkedList* tail);
 
 INLINE int list_length(LinkedList* list);
 
-INLINE void* list_nth(int index, LinkedList* list);
+INLINE void* list_nth(int n, LinkedList* list);
 
 INLINE void list_remove_head(LinkedList** list);
 
diff --git a/wmgeneral/wmgeneral.c b/wmgeneral/wmgeneral.c
index ae4b212..5911900 100644
--- a/wmgeneral/wmgeneral.c
+++ b/wmgeneral/wmgeneral.c
@@ -251,14 +251,14 @@ void RedrawWindowXY(int x, int y) {
 |* AddMouseRegion															   *|
 \*******************************************************************************/
 
-void AddMouseRegion(int index, int left, int top, int right, int bottom) {
-
-	if (index < MAX_MOUSE_REGION) {
-		mouse_region[index].enable = 1;
-		mouse_region[index].top = top;
-		mouse_region[index].left = left;
-		mouse_region[index].bottom = bottom;
-		mouse_region[index].right = right;
+void AddMouseRegion(int region_idx, int left, int top, int right, int bottom) {
+
+	if (region_idx < MAX_MOUSE_REGION) {
+		mouse_region[region_idx].enable = 1;
+		mouse_region[region_idx].top = top;
+		mouse_region[region_idx].left = left;
+		mouse_region[region_idx].bottom = bottom;
+		mouse_region[region_idx].right = right;
 	}
 }
 

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



More information about the Pkg-wmaker-commits mailing list