[SHELL32] In _SHExpandEnvironmentStrings(), fall back to SHExpandEnvironmentStringsFo...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 22 Sep 2018 22:07:07 +0000 (00:07 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 22 Sep 2018 22:18:57 +0000 (00:18 +0200)
commit7ee298bbfc3838e7fbf92d775206ca9f4d0c38dc
tree59e043f0ba03282171241a87ff2c4fc6dcd79408
parente29609147b6da48f4a0166b39be8664a996b06b8
[SHELL32] In _SHExpandEnvironmentStrings(), fall back to SHExpandEnvironmentStringsForUserW() if the simplified code paths failed.

This allows the code to give a last chance for expanding the string.
And if it still fails, we bail out as expected and the caller will
take appropriate actions.

As a by-product, this commit (together with the previous one e2960914)
fixes the regression CORE-14981 (Quick-Launch bar couldn't be opened
in LiveCD).
dll/win32/shell32/wine/shellpath.c