mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix appending path compoent
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6372 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1888a16328
commit
77d43c6cdc
1 changed files with 4 additions and 1 deletions
|
@ -1972,7 +1972,10 @@ handle_printf_atsign (FILE *stream,
|
|||
[self getCharacters: buf];
|
||||
if (aLength > 0)
|
||||
{
|
||||
buf[length++] = pathSepChar;
|
||||
if (length > 0)
|
||||
{
|
||||
buf[length++] = pathSepChar;
|
||||
}
|
||||
[aString getCharacters: &buf[length]];
|
||||
}
|
||||
length += aLength;
|
||||
|
|
Loading…
Reference in a new issue