Fix fetching the temporary folder to use the correct enumeration value.
commitd6b68655a5f2cd1b36c304a8e63564a8f1ee064e
authorPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 13 Oct 2011 09:20:31 +0000 (13 10:20 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 13 Oct 2011 09:20:31 +0000 (13 10:20 +0100)
tree97281cd83a7178e43067d1c5a8c0794fe02c1920
parent4400e9ffbd1b3fadc8337821c2a7c7b2eea773ec
Fix fetching the temporary folder to use the correct enumeration value.

The TemporaryFolder variable is actually uninitialized which results in
its value being treated as 0 which means the GetSpecialFolder call returns
the Windows directory and this is not usually writable.
Fixed by declaring the cirrect value as per the documentation example.

Reported-by: Andrew Rollins <andrew@andrewrollins.com>
Reported-by: Fabio Vitale fabio.vitale@envisioning.it>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
share/WinGit/Git Bash.vbs