Skip to content

Commit e60a7b6

Browse files
committed
FIX: change-dir %/ not working on Windows
related to: Oldes/Rebol-issues#2352
1 parent 3b529ee commit e60a7b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/s-file.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
out = UNI_HEAD(dst);
144144
#ifdef TO_WINDOWS
145145
i++;
146-
if (len == 1) {
146+
if (len == 1 && !full) {
147147
// special case: reading drive letters -> read %/
148148
// https://github.com/rebol/rebol-issues/issues/2031
149149
out[0] = 0;

0 commit comments

Comments
 (0)