changed: #getHostName
authorStefan Vogel <sv@exept.de>
Tue, 03 Apr 2012 22:20:19 +0200
changeset 14087 6b3dea4f8fc9
parent 14086 2629f014266b
child 14088 751f95f1fff0
changed: #getHostName
Win32OperatingSystem.st
--- 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