win32: minor repair to single-instance check

This commit is contained in:
Matthew Flatt 2010-12-25 08:45:30 -07:00
parent 064492d4b8
commit 0ef5a01c9b

View File

@ -668,8 +668,8 @@
[guid-len (bytes-length GRACKET_GUID)]
[data-len (COPYDATASTRUCT-cbData cd)])
(when (and (data-len
. > .
(+ guid-len (ctype-sizeof _DWORD)))
. >= .
(+ guid-len 4 (ctype-sizeof _DWORD)))
(bytes=? GRACKET_GUID
(scheme_make_sized_byte_string data
guid-len