mirror of
git://git.gnupg.org/gnupg.git
synced 2025-05-24 16:43:28 +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:
parent
455a4a2212
commit
71fa6a3510
@ -496,7 +496,9 @@ do_make_filename (int xmode, const char *first_part, va_list arg_ptr)
|
|||||||
{
|
{
|
||||||
#ifdef HAVE_DRIVE_LETTERS
|
#ifdef HAVE_DRIVE_LETTERS
|
||||||
p = strchr (name, ':');
|
p = strchr (name, ':');
|
||||||
if (!p)
|
if (p)
|
||||||
|
p++;
|
||||||
|
else
|
||||||
p = name;
|
p = name;
|
||||||
#else
|
#else
|
||||||
p = name;
|
p = name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user