Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cb24a3f

Browse files
committedMar 20, 2024··
Fix type error
1 parent 04e3c2b commit cb24a3f

File tree

1 file changed

+1
-2
lines changed
  • crates/xetex_layout/src/c_api/manager

1 file changed

+1
-2
lines changed
 

‎crates/xetex_layout/src/c_api/manager/mac.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ impl FontManagerBackend for MacBackend {
151151
true,
152152
buf.as_mut_ptr(),
153153
libc::PATH_MAX as CFIndex,
154-
) != 0
155-
{
154+
) {
156155
path = Cow::Owned(CString::new(buf));
157156
}
158157
CFRelease(url);

0 commit comments

Comments
 (0)
Please sign in to comment.