diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-11-03 15:30:59 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-11-03 15:30:59 +0000 |
commit | c5d751a6587f8c3d21205db70e7f66ab8801f8ad (patch) | |
tree | 865c38c9c68dd28f4351625d92bf4e20ed1c8bd6 /winsup/cygwin/cygheap.cc | |
parent | fcb1765e875047892066ec478f1b611aeda3339a (diff) | |
download | cygnal-c5d751a6587f8c3d21205db70e7f66ab8801f8ad.tar.gz cygnal-c5d751a6587f8c3d21205db70e7f66ab8801f8ad.tar.bz2 cygnal-c5d751a6587f8c3d21205db70e7f66ab8801f8ad.zip |
* cygheap.cc: Fix formatting.
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
-rw-r--r-- | winsup/cygwin/cygheap.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index fd851ac6d..ce7b02a86 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -194,7 +194,7 @@ init_cygheap::init_installation_root () revert to Win32 path. This path is added to the Windows environment in buildenv. See there for a description. */ installation_dir_len = wcpncpy (installation_dir, installation_root + len, - PATH_MAX) + PATH_MAX) - installation_dir; if (len == 4) /* Local path */ ; @@ -223,7 +223,8 @@ init_cygheap::init_installation_root () if (cygwin_props.disable_key) { installation_key.Length = 0; - installation_key.Buffer[0] = L'\0'; } + installation_key.Buffer[0] = L'\0'; + } } void __stdcall |