]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/calendar/windows/windows.factor
Replace "win32-error-string throw" with windows-error instance throwing
[factor.git] / basis / calendar / windows / windows.factor
index 80253ea91b77f1f6b28830c20dc8a5bd67a3dcb8..f866fe81fa55d107754a90bc3a7d922af54350bd 100644 (file)
@@ -31,7 +31,7 @@ IN: calendar.windows
 M: windows gmt-offset ( -- hours minutes seconds )
     TIME_ZONE_INFORMATION <struct>
     dup GetTimeZoneInformation {
-        { TIME_ZONE_ID_INVALID [ win32-error-string throw ] }
+        { TIME_ZONE_ID_INVALID [ win32-error ] }
         { TIME_ZONE_ID_UNKNOWN [ Bias>> ] }
         { TIME_ZONE_ID_STANDARD [ Bias>> ] }
         { TIME_ZONE_ID_DAYLIGHT [ [ Bias>> ] [ DaylightBias>> ] bi + ] }