mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
cmd: Fix character count passed to GetShortPathName in WCMD_HandleTildaModifiers.
This commit is contained in:
parent
271eaf5c9d
commit
1d6922b2e0
1 changed files with 2 additions and 1 deletions
|
@ -506,7 +506,8 @@ void WCMD_HandleTildaModifiers(WCHAR **start, WCHAR *forVariable, WCHAR *forValu
|
|||
if (memchrW(firstModifier, 's', modifierLen) != NULL) {
|
||||
if (finaloutput[0] != 0x00) strcatW(finaloutput, space);
|
||||
/* Don't flag as doneModifier - %~s on its own is processed later */
|
||||
GetShortPathName(outputparam, outputparam, sizeof(outputparam));
|
||||
GetShortPathName(outputparam, outputparam,
|
||||
sizeof(outputparam)/sizeof(outputparam[0]));
|
||||
}
|
||||
|
||||
/* 5. Handle 'f' : Fully qualified path (File doesn't have to exist) */
|
||||
|
|
Loading…
Reference in a new issue