Skip to content

Commit 2fa361f

Browse files
committed
Fix type error
1 parent 173123a commit 2fa361f

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)