Documentation fix; whitespace.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3206 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -267,7 +267,7 @@ getHomeDir (void)
|
|||||||
// EP_SINGLESEP - Replace multiple consecutive path seperators (which POSIX
|
// EP_SINGLESEP - Replace multiple consecutive path seperators (which POSIX
|
||||||
// considers equivalent to a single one) by a single one.
|
// considers equivalent to a single one) by a single one.
|
||||||
// Additionally, there's EP_ALL, which indicates all of the above,
|
// Additionally, there's EP_ALL, which indicates all of the above,
|
||||||
// and EP_SYSTEM_ALL, which does the same as EP_ALL, with the exception
|
// and EP_ALL_SYSTEM, which does the same as EP_ALL, with the exception
|
||||||
// of EP_SLASHES, which will only be included if the operating system
|
// of EP_SLASHES, which will only be included if the operating system
|
||||||
// accepts backslashes as path terminators.
|
// accepts backslashes as path terminators.
|
||||||
// Returns 0 on success.
|
// Returns 0 on success.
|
||||||
@@ -547,7 +547,7 @@ expandPath (char *dest, size_t len, const char *src, int what)
|
|||||||
|
|
||||||
pathStart = dest;
|
pathStart = dest;
|
||||||
#ifdef HAVE_DRIVE_LETTERS
|
#ifdef HAVE_DRIVE_LETTERS
|
||||||
if (isDriveLetter(pathStart[0]) && (pathStart[1] == ':'))
|
if (isDriveLetter (pathStart[0]) && (pathStart[1] == ':'))
|
||||||
{
|
{
|
||||||
pathStart += 2;
|
pathStart += 2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user