got rid of multiline comment

This commit is contained in:
Sergey Lyubka committed 2014-03-03 09:45:00 +00:00
1 parent 77db89961b
commit 65f484291f
1 file changed
+1 -1
+1 -1
View File
@@ -1277,7 +1277,7 @@ static void to_wchar(const char *path, wchar_t *wbuf, size_t wbuf_len) {
strncpy(buf, path, sizeof(buf));
buf[sizeof(buf) - 1] = '\0';
// Trim trailing slashes. Leave backslash for paths like X:\
// Trim trailing slashes. Leave backslash for paths like "X:\"
p = buf + strlen(buf) - 1;
while (p > buf && p[-1] != ':' && (p[0] == '\\' || p[0] == '/')) *p-- = '\0';