Update to tk 8.5.19
This commit is contained in:
@@ -3205,7 +3205,7 @@ SetDefaults(
|
||||
int padding;
|
||||
#endif
|
||||
} nc;
|
||||
OSVERSIONINFO os;
|
||||
OSVERSIONINFOW os;
|
||||
|
||||
/*
|
||||
* Set all of the default options. The loop will terminate when we run out
|
||||
@@ -3225,8 +3225,8 @@ SetDefaults(
|
||||
|
||||
nc.metrics.cbSize = sizeof(nc);
|
||||
|
||||
os.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
|
||||
GetVersionEx(&os);
|
||||
os.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW);
|
||||
GetVersionExW(&os);
|
||||
if (os.dwMajorVersion < 6) {
|
||||
nc.metrics.cbSize -= sizeof(int);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user