windows.errors: fix #987
parent
2fe03b6711
commit
3715bb6b9a
|
@ -706,7 +706,7 @@ CONSTANT: FORMAT_MESSAGE_MAX_WIDTH_MASK 0x000000FF
|
||||||
:: n>win32-error-string ( id -- string )
|
:: n>win32-error-string ( id -- string )
|
||||||
flags{
|
flags{
|
||||||
FORMAT_MESSAGE_FROM_SYSTEM
|
FORMAT_MESSAGE_FROM_SYSTEM
|
||||||
FORMAT_MESSAGE_ARGUMENT_ARRAY
|
FORMAT_MESSAGE_IGNORE_INSERTS
|
||||||
}
|
}
|
||||||
f
|
f
|
||||||
id
|
id
|
||||||
|
@ -739,7 +739,7 @@ ERROR: windows-error n string ;
|
||||||
] [
|
] [
|
||||||
dup n>win32-error-string windows-error
|
dup n>win32-error-string windows-error
|
||||||
] if ;
|
] if ;
|
||||||
|
|
||||||
: throw-win32-error ( -- * )
|
: throw-win32-error ( -- * )
|
||||||
win32-error-string throw ;
|
win32-error-string throw ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue