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
1 changed files with 3 additions and 1 deletions

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;