Code cleanup
This commit is contained in:
@@ -1528,12 +1528,6 @@ void initwinvideo(void)
|
|||||||
GetClientRect(hMainWindow, &rcWindow);
|
GetClientRect(hMainWindow, &rcWindow);
|
||||||
ClientToScreen(hMainWindow, ( LPPOINT )&rcWindow);
|
ClientToScreen(hMainWindow, ( LPPOINT )&rcWindow);
|
||||||
ClientToScreen(hMainWindow, ( LPPOINT )&rcWindow + 1);
|
ClientToScreen(hMainWindow, ( LPPOINT )&rcWindow + 1);
|
||||||
|
|
||||||
// return;
|
|
||||||
// sprintf(WinMessage,"FirstVid!=1 end\n\0");
|
|
||||||
// MessageBox (NULL, WinMessage, "Init", MB_ICONERROR );
|
|
||||||
|
|
||||||
// MoveScreen(wndpl.rcNormalPosition.left, wndpl.rcNormalPosition.top);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -1551,7 +1545,6 @@ void initwinvideo(void)
|
|||||||
freq = CLOCKS_PER_SEC;
|
freq = CLOCKS_PER_SEC;
|
||||||
}
|
}
|
||||||
|
|
||||||
// hInst=GetModuleHandle(0);
|
|
||||||
if (!RegisterWinClass())
|
if (!RegisterWinClass())
|
||||||
{
|
{
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user