hw/xwin: Remove some redundant OS version reporting
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
a9aca218f5
commit
25caa8565d
|
@ -44,7 +44,7 @@ winClipboardDetectUnicodeSupport (void)
|
||||||
{
|
{
|
||||||
Bool fReturn = FALSE;
|
Bool fReturn = FALSE;
|
||||||
OSVERSIONINFO osvi = {0};
|
OSVERSIONINFO osvi = {0};
|
||||||
|
|
||||||
/* Get operating system version information */
|
/* Get operating system version information */
|
||||||
osvi.dwOSVersionInfoSize = sizeof (osvi);
|
osvi.dwOSVersionInfoSize = sizeof (osvi);
|
||||||
GetVersionEx (&osvi);
|
GetVersionEx (&osvi);
|
||||||
|
@ -54,13 +54,11 @@ winClipboardDetectUnicodeSupport (void)
|
||||||
{
|
{
|
||||||
case VER_PLATFORM_WIN32_NT:
|
case VER_PLATFORM_WIN32_NT:
|
||||||
/* Unicode supported on NT only */
|
/* Unicode supported on NT only */
|
||||||
ErrorF ("DetectUnicodeSupport - Windows NT/2000/XP\n");
|
|
||||||
fReturn = TRUE;
|
fReturn = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case VER_PLATFORM_WIN32_WINDOWS:
|
case VER_PLATFORM_WIN32_WINDOWS:
|
||||||
/* Unicode is not supported on non-NT */
|
/* Unicode is not supported on non-NT */
|
||||||
ErrorF ("DetectUnicodeSupport - Windows 95/98/Me\n");
|
|
||||||
fReturn = FALSE;
|
fReturn = FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,20 +68,6 @@ winDetectSupportedEngines (void)
|
||||||
osvi.dwOSVersionInfoSize = sizeof (osvi);
|
osvi.dwOSVersionInfoSize = sizeof (osvi);
|
||||||
GetVersionEx (&osvi);
|
GetVersionEx (&osvi);
|
||||||
|
|
||||||
/* Branch on platform ID */
|
|
||||||
switch (osvi.dwPlatformId)
|
|
||||||
{
|
|
||||||
case VER_PLATFORM_WIN32_NT:
|
|
||||||
/* Engine 4 is supported on NT only */
|
|
||||||
winErrorFVerb (2, "winDetectSupportedEngines - Windows NT/2000/XP\n");
|
|
||||||
break;
|
|
||||||
|
|
||||||
case VER_PLATFORM_WIN32_WINDOWS:
|
|
||||||
/* Engine 4 is supported on NT only */
|
|
||||||
winErrorFVerb (2, "winDetectSupportedEngines - Windows 95/98/Me\n");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Do we have DirectDraw? */
|
/* Do we have DirectDraw? */
|
||||||
if (g_hmodDirectDraw != NULL)
|
if (g_hmodDirectDraw != NULL)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1209,7 +1209,7 @@ winLogCommandLine (int argc, char *argv[])
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* winLogVersionInfo - Log Cygwin/X version information
|
* winLogVersionInfo - Log version information
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue
Block a user