--- a/Win32OperatingSystem.st Tue Apr 03 20:51:08 2012 +0200
+++ b/Win32OperatingSystem.st Tue Apr 03 22:20:19 2012 +0200
@@ -7537,7 +7537,7 @@
%{ /* STACK: 2048 */
WCHAR buffer[512];
- DWORD buffSize = sizeof(buffer);
+ DWORD buffSize = sizeof(buffer)/sizeof(buffer[0]);
// Note: GetComputerNameExA can fail in certain locales!
if (GetComputerNameExW(ComputerNameDnsFullyQualified, buffer, &buffSize) == TRUE) {
@@ -16425,12 +16425,12 @@
!Win32OperatingSystem class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.434 2012-04-03 17:18:07 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.435 2012-04-03 20:20:19 stefan Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.434 2012-04-03 17:18:07 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.435 2012-04-03 20:20:19 stefan Exp $'
!
version_SVN