* path.cc: Perform some whitespace fixups throughout.

This commit is contained in:
Christopher Faylor 2012-07-02 00:40:06 +00:00
parent ca4d966d1b
commit c4441d46b6
2 changed files with 24 additions and 19 deletions

View File

@ -1,3 +1,7 @@
2012-07-01 Christopher Faylor <me.cygwin2012@cgf.cx>
* path.cc: Perform some whitespace fixups throughout.
2012-06-28 Corinna Vinschen <corinna@vinschen.de> 2012-06-28 Corinna Vinschen <corinna@vinschen.de>
* kernel32.cc (_KERNEL32_): Define. Explain why. * kernel32.cc (_KERNEL32_): Define. Explain why.

View File

@ -112,7 +112,8 @@ muto NO_COPY cwdstuff::cwd_lock;
static const GUID GUID_shortcut static const GUID GUID_shortcut
= { 0x00021401L, 0, 0, {0xc0, 0, 0, 0, 0, 0, 0, 0x46}}; = { 0x00021401L, 0, 0, {0xc0, 0, 0, 0, 0, 0, 0, 0x46}};
enum { enum
{
WSH_FLAG_IDLIST = 0x01, /* Contains an ITEMIDLIST. */ WSH_FLAG_IDLIST = 0x01, /* Contains an ITEMIDLIST. */
WSH_FLAG_FILE = 0x02, /* Contains a file locator element. */ WSH_FLAG_FILE = 0x02, /* Contains a file locator element. */
WSH_FLAG_DESC = 0x04, /* Contains a description. */ WSH_FLAG_DESC = 0x04, /* Contains a description. */
@ -123,7 +124,7 @@ enum {
}; };
struct win_shortcut_hdr struct win_shortcut_hdr
{ {
DWORD size; /* Header size in bytes. Must contain 0x4c. */ DWORD size; /* Header size in bytes. Must contain 0x4c. */
GUID magic; /* GUID of shortcut files. */ GUID magic; /* GUID of shortcut files. */
DWORD flags; /* Content flags. See above. */ DWORD flags; /* Content flags. See above. */
@ -140,7 +141,7 @@ struct win_shortcut_hdr
DWORD run; /* Values defined in winuser.h. Use SW_NORMAL. */ DWORD run; /* Values defined in winuser.h. Use SW_NORMAL. */
DWORD hotkey; /* Hotkey value. Set to 0. */ DWORD hotkey; /* Hotkey value. Set to 0. */
DWORD dummy[2]; /* Future extension probably. Always 0. */ DWORD dummy[2]; /* Future extension probably. Always 0. */
}; };
/* Return non-zero if PATH1 is a prefix of PATH2. /* Return non-zero if PATH1 is a prefix of PATH2.
Both are assumed to be of the same path style and / vs \ usage. Both are assumed to be of the same path style and / vs \ usage.