the various changes that I forgot to commit (cleanup and so forth) into hg,
culminating in syncing with sm-ssc v1.0 public beta 2
This commit is contained in:
@@ -206,8 +206,8 @@ static void AdjustVideoModeParams( VideoModeParams &p )
|
||||
}
|
||||
}
|
||||
|
||||
/* Set the display mode to the given size, bit depth and refresh. The refresh
|
||||
* setting may be ignored. */
|
||||
/* Set the display mode to the given size, bit depth and refresh.
|
||||
* The refresh setting may be ignored. */
|
||||
RString GraphicsWindow::SetScreenMode( const VideoModeParams &p )
|
||||
{
|
||||
if( p.windowed )
|
||||
@@ -293,7 +293,7 @@ void GraphicsWindow::CreateGraphicsWindow( const VideoModeParams &p, bool bForce
|
||||
g_HDC = GetDC( g_hWndMain );
|
||||
}
|
||||
|
||||
/* Update the window title. */
|
||||
// Update the window title.
|
||||
do
|
||||
{
|
||||
if( m_bWideWindowClass )
|
||||
@@ -305,7 +305,7 @@ void GraphicsWindow::CreateGraphicsWindow( const VideoModeParams &p, bool bForce
|
||||
SetWindowTextA( g_hWndMain, ConvertUTF8ToACP(p.sWindowTitle) );
|
||||
} while(0);
|
||||
|
||||
/* Update the window icon. */
|
||||
// Update the window icon.
|
||||
if( g_hIcon != NULL )
|
||||
{
|
||||
SetClassLong( g_hWndMain, GCL_HICON, (LONG) LoadIcon(NULL,IDI_APPLICATION) );
|
||||
|
||||
Reference in New Issue
Block a user