Commit 6a8ba361 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

version: Fix printing NULL strings.

parent 076f6784
...@@ -1344,8 +1344,9 @@ DWORD WINAPI VerInstallFileA( ...@@ -1344,8 +1344,9 @@ DWORD WINAPI VerInstallFileA(
OFSTRUCT ofs; OFSTRUCT ofs;
TRACE("(%x,%s,%s,%s,%s,%s,%p,%d)\n", TRACE("(%x,%s,%s,%s,%s,%s,%p,%d)\n",
flags,srcfilename,destfilename,srcdir,destdir,curdir,tmpfile,*tmpfilelen flags,debugstr_a(srcfilename),debugstr_a(destfilename),
); debugstr_a(srcdir),debugstr_a(destdir),debugstr_a(curdir),
tmpfile,*tmpfilelen);
xret = 0; xret = 0;
if (!srcdir || !srcfilename) return VIF_CANNOTREADSRC; if (!srcdir || !srcfilename) return VIF_CANNOTREADSRC;
sprintf(srcfn,"%s\\%s",srcdir,srcfilename); sprintf(srcfn,"%s\\%s",srcdir,srcfilename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment