sourcemm/util.cpp
changeset 321 0ebefd20aad7
parent 320 c955cb69efe3
child 338 3f8caf9ea756
     1.1 --- a/sourcemm/util.cpp	Wed May 02 14:08:57 2007 +0000
     1.2 +++ b/sourcemm/util.cpp	Wed May 02 14:18:20 2007 +0000
     1.3 @@ -372,11 +372,10 @@
     1.4  	}
     1.5  
     1.6  	/* Now build the new relative path. */
     1.7 -	char *ptr = buffer;
     1.8  	size_t len, total = 0;
     1.9  	while (numLevels--)
    1.10  	{
    1.11 -		len = _snprintf(&buffer[total], maxlength - total, "..\\");
    1.12 +		len = _snprintf(&buffer[total], maxlength - total, ".." PATH_SEP_STR);
    1.13  		if (len >= maxlength - total)
    1.14  		{
    1.15  			/* Not enough space in the buffer */