Skip to content

Commit

Permalink
macosx was renamed to macos
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimschmidt557 authored and ikskuh committed Oct 14, 2020
1 parent c35b50b commit e1193f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions known-folders.zig
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub fn getPath(allocator: *std.mem.Allocator, folder: KnownFolder) Error!?[]cons
},
}
},
.macosx => {
.macos => {
if (@hasDecl(root, "known_folders_config") and root.known_folders_config.xdg_on_mac) {
return getPathXdg(allocator, &arena, folder);
}
Expand Down Expand Up @@ -193,7 +193,7 @@ const XdgFolderSpec = struct {
default: ?[]const u8,
};

/// Contains the folder items for MacOS X
/// Contains the folder items for macOS
const MacFolderSpec = struct {
suffix: ?[]const u8,
};
Expand Down

0 comments on commit e1193f9

Please sign in to comment.