Skip to content

Commit 40ef125

Browse files
committed
refs #18, missing small fix
1 parent 5c72bac commit 40ef125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ghc/filesystem.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ GHC_INLINE void appendUTF8(std::string& str, uint32_t unicode)
11861186
str.push_back(static_cast<char>((unicode & 0x3f) + 128));
11871187
}
11881188
else {
1189-
str.push_back(0xfffd);
1189+
appendUTF8(str, 0xfffd);
11901190
}
11911191
}
11921192

0 commit comments

Comments
 (0)