mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:13:56 +00:00
msi: Fix short name and long name mismatch in action.c.
This commit is contained in:
parent
1be295fb47
commit
d0862c365b
1 changed files with 7 additions and 3 deletions
|
@ -1471,14 +1471,18 @@ static MSIFOLDER *load_folder( MSIPACKAGE *package, LPCWSTR dir )
|
|||
|
||||
if (!tgt_long)
|
||||
tgt_long = tgt_short;
|
||||
if (!src_short)
|
||||
src_short = tgt_long;
|
||||
|
||||
if (!src_short) {
|
||||
src_short = tgt_short;
|
||||
src_long = tgt_long;
|
||||
}
|
||||
|
||||
if (!src_long)
|
||||
src_long = src_short;
|
||||
|
||||
/* FIXME: use the target short path too */
|
||||
folder->TargetDefault = strdupW(tgt_long);
|
||||
folder->SourceShortPath = strdupW(src_long);
|
||||
folder->SourceShortPath = strdupW(src_short);
|
||||
folder->SourceLongPath = strdupW(src_long);
|
||||
msi_free(p);
|
||||
|
||||
|
|
Loading…
Reference in a new issue