Module: wine Branch: refs/heads/master Commit: d0862c365baa914036de25a64ba2c6f2014dffa3 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=d0862c365baa914036de25a6...
Author: Labrousse Jean jlabrous@altern.org Date: Sun May 21 17:27:29 2006 +0200
msi: Fix short name and long name mismatch in action.c.
---
dlls/msi/action.c | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 22133cf..f5bb5e3 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -1471,14 +1471,18 @@ static MSIFOLDER *load_folder( MSIPACKAG
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);