From 1fec0792667a1d36cbd2440e4459bfbbcd0fe88c Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Sun, 18 Jul 2021 19:22:37 +0100 Subject: [PATCH] Fix typo s/ouput/output/ in function name --- river/Root.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/river/Root.zig b/river/Root.zig index eeb6dba..f39f6f2 100644 --- a/river/Root.zig +++ b/river/Root.zig @@ -416,7 +416,7 @@ fn handleLayoutChange( ) void { const self = @fieldParentPtr(Self, "layout_change", listener); - const config = self.ouputConfigFromCurrent() catch { + const config = self.outputConfigFromCurrent() catch { std.log.scoped(.output_manager).crit("out of memory", .{}); return; }; @@ -437,7 +437,7 @@ fn handleManagerApply( } // Send the config that was actually applied - const applied_config = self.ouputConfigFromCurrent() catch { + const applied_config = self.outputConfigFromCurrent() catch { std.log.scoped(.output_manager).crit("out of memory", .{}); return; }; @@ -554,7 +554,7 @@ fn applyHeadToOutput(head: *wlr.OutputConfigurationV1.Head, wlr_output: *wlr.Out } /// Create the config describing the current configuration -fn ouputConfigFromCurrent(self: *Self) !*wlr.OutputConfigurationV1 { +fn outputConfigFromCurrent(self: *Self) !*wlr.OutputConfigurationV1 { const config = try wlr.OutputConfigurationV1.create(); // this destroys all associated config heads as well errdefer config.destroy();