diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2017-12-14 17:54:06 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2017-12-14 17:54:06 -0500 |
commit | bdea97399b12a1e9ede23b1fe4e8c4e28f25210e (patch) | |
tree | d79cb4864148d9b1597fb5371159c76341548d60 /indra/newview/llagentdata.h | |
parent | 0d1c5958fb9a70721df26151686f070f8486667f (diff) |
MAINT-8087: Use SHGetKnownFolderPath(), not SHGetSpecialFolderPath().
SHGetSpecialFolderPath() is deprecated, and empirically it appears to be
failing when the user name contains non-ASCII characters. The relevant
Microsoft documentation pages recommend calling SHGetKnownFolderPath()
instead.
Also, the SHGetSpecialFolderPath() calls had no error checking or reporting,
which is why we can only say it "appears to be" failing. Make sure that if
SHGetKnownFolderPath() fails, at least we try to tell somebody about it.
Diffstat (limited to 'indra/newview/llagentdata.h')
0 files changed, 0 insertions, 0 deletions