1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-09 23:39:51 +02:00

w32: Make make_absfilename work with drive letters.

* common/stringhelp.c (do_make_filename) [HAVE_DRIVE_LETTERS]: Fix.
This commit is contained in:
Werner Koch 2014-05-14 10:26:30 +02:00
parent 455a4a2212
commit 71fa6a3510

View File

@ -496,7 +496,9 @@ do_make_filename (int xmode, const char *first_part, va_list arg_ptr)
{
#ifdef HAVE_DRIVE_LETTERS
p = strchr (name, ':');
if (!p)
if (p)
p++;
else
p = name;
#else
p = name;