From 50448cdb1a37481b4093866bfb85b19e8bccf5b9 Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Sun, 28 Dec 2003 20:24:32 +0000 Subject: Function without a return (warning) This function just calls another function which returns a success value, so I'm just passing that value directly as a return value. Slap me with a trout if I wasn't suppose to fix this. --- intern/ghost/intern/GHOST_WindowWin32.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'intern') diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp index dcf02611d1a..b0974a24f89 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cpp @@ -581,9 +581,8 @@ static GHOST_TUns16 uns16ReverseBits(GHOST_TUns16 shrt) GHOST_TSuccess GHOST_WindowWin32::setWindowCustomCursorShape(GHOST_TUns8 bitmap[16][2], GHOST_TUns8 mask[16][2], int hotX, int hotY) { - setWindowCustomCursorShape((GHOST_TUns8*)bitmap, (GHOST_TUns8*)mask, + return setWindowCustomCursorShape((GHOST_TUns8*)bitmap, (GHOST_TUns8*)mask, 16, 16, hotX, hotY, 0, 1); - } GHOST_TSuccess GHOST_WindowWin32::setWindowCustomCursorShape(GHOST_TUns8 *bitmap, -- cgit v1.2.3