Skip to content

Commit 51a9933

Browse files
Update lib.rs
1 parent cd847d0 commit 51a9933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ fn svg_to_bytes(
267267
}
268268
};
269269

270-
if !cfg!(target_os ="windows") ||!cfg!(target_os ="macos"){
270+
if !cfg!(any(target_os ="windows",target_os="macos")) {
271271
font_family = none_or_take(font_family, "Times New Roman");
272272
serif_family = none_or_take(serif_family, "Times New Roman");
273273
sans_serif_family = none_or_take(sans_serif_family, "Arial");

0 commit comments

Comments
 (0)