diff options
author | Martin Poirier <theeth@yahoo.com> | 2003-12-28 23:24:32 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2003-12-28 23:24:32 +0300 |
commit | 50448cdb1a37481b4093866bfb85b19e8bccf5b9 (patch) | |
tree | b01ebd85016d2c4f0791bef08cfbe206cfc8167e /intern | |
parent | 2eed0e54ef55760d9d7c46e25d2ac11fd2228550 (diff) |
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.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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, |