~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When looking for a local username on Windows, if we can get hold of the
[sgt/putty]
/
windows
/
winstore.c
diff --git
a/windows/winstore.c
b/windows/winstore.c
index
5477f11
..
d011dbf
100644
(file)
--- a/
windows/winstore.c
+++ b/
windows/winstore.c
@@
-499,6
+499,7
@@
static HANDLE access_random_seed(int action)
* so stuff that. */
shell32_module = LoadLibrary("SHELL32.DLL");
GET_WINDOWS_FUNCTION(shell32_module, SHGetFolderPathA);
+ tried_shgetfolderpath = TRUE;
}
if (p_SHGetFolderPathA) {
if (SUCCEEDED(p_SHGetFolderPathA(NULL, CSIDL_LOCAL_APPDATA,