ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Windows/main_windows.cpp
(Generate patch)

Comparing SheepShaver/src/Windows/main_windows.cpp (file contents):
Revision 1.11 by gbeauche, 2005-11-27T22:29:32Z vs.
Revision 1.12 by gbeauche, 2006-05-02T19:34:04Z

# Line 781 | Line 781 | void SheepMem::Exit(void)
781  
782   #ifdef USE_SDL_VIDEO
783   #include <SDL_syswm.h>
784 < static HWND GetMainWindowHandle(void)
784 > HWND GetMainWindowHandle(void)
785   {
786          SDL_SysWMinfo wmInfo;
787 <        wmInfo.version.major = SDL_MAJOR_VERSION;
788 <        wmInfo.version.minor = SDL_MINOR_VERSION;
789 <        wmInfo.version.patch = SDL_PATCHLEVEL;
787 >        SDL_VERSION(&wmInfo.version);
788          return SDL_GetWMInfo(&wmInfo) ? wmInfo.window : NULL;
789   }
790   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines