diff -r c955cb69efe3 -r 0ebefd20aad7 sourcemm/util.cpp --- a/sourcemm/util.cpp Wed May 02 14:08:57 2007 +0000 +++ b/sourcemm/util.cpp Wed May 02 14:18:20 2007 +0000 @@ -372,11 +372,10 @@ } /* Now build the new relative path. */ - char *ptr = buffer; size_t len, total = 0; while (numLevels--) { - len = _snprintf(&buffer[total], maxlength - total, "..\\"); + len = _snprintf(&buffer[total], maxlength - total, ".." PATH_SEP_STR); if (len >= maxlength - total) { /* Not enough space in the buffer */