mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue