Skip to content

Commit

Permalink
widget_themes/mod.rs - fix typo
Browse files Browse the repository at this point in the history
warning: unexpected `cfg` condition value: `window`
  --> fltk-theme/src/widget_themes/mod.rs:56:39
help: there is a expected value with a similar name: `"windows"`
  • Loading branch information
StarterX4 authored Jan 9, 2025
1 parent 500d2e9 commit 902bc01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget_themes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub(crate) const OS_BG_DOWN_BOX: FrameType =
pub(crate) const OS_TOOLBAR_FRAME: FrameType =
FrameType::UserFrameType(unsafe { UnmappedFrameType::from_i32(58) });

pub const OS_FONT_SIZE: i32 = if cfg!(target_os = "window") { 12 } else { 13 };
pub const OS_FONT_SIZE: i32 = if cfg!(target_os = "windows") { 12 } else { 13 };

pub(crate) fn use_native_settings() {
app::set_visible_focus(false);
Expand Down

0 comments on commit 902bc01

Please # to comment.