Fix clipboard and compile on Windows. (Reported by Giel.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@871 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
031c7c2800
commit
cfcd8b3823
|
@ -59,7 +59,7 @@ static void (*Unlock_Display)(void);
|
|||
|
||||
#elif defined(WIN_SCRAP)
|
||||
/* * */
|
||||
static int SDL_Window;
|
||||
static HWND SDL_Window;
|
||||
|
||||
#elif defined(QNX_SCRAP)
|
||||
/* * */
|
||||
|
@ -324,7 +324,7 @@ lost_scrap(void)
|
|||
|
||||
#elif defined(WIN_SCRAP)
|
||||
/* * */
|
||||
retval = ( GetClipboardOwner() != SDL_Window );
|
||||
retval = ( GetClipboardOwner()->i != SDL_Window->i );
|
||||
|
||||
#elif defined(QNX_SCRAP)
|
||||
/* * */
|
||||
|
|
Loading…
Reference in New Issue