From 76da7e2b0d22ad41fe28e0b8cda82d58493393c2 Mon Sep 17 00:00:00 2001 From: Leon Henrik Plickat Date: Thu, 16 Jul 2020 18:14:00 +0200 Subject: [PATCH] Make float_filter a slice list --- river/Config.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/river/Config.zig b/river/Config.zig index 1be9ba0..6dc8199 100644 --- a/river/Config.zig +++ b/river/Config.zig @@ -50,7 +50,7 @@ mode_to_id: std.StringHashMap(usize), modes: std.ArrayList(std.ArrayList(Mapping)), /// List of app_ids which will be started floating -float_filter: std.ArrayList([*:0]const u8), +float_filter: std.ArrayList([]const u8), /// List of app_ids which are allowed to use client side decorations csd_filter: std.ArrayList([]const u8), @@ -73,7 +73,7 @@ pub fn init(self: *Self) !void { errdefer self.modes.deinit(); try self.modes.append(std.ArrayList(Mapping).init(util.gpa)); - self.float_filter = std.ArrayList([*:0]const u8).init(util.gpa); + self.float_filter = std.ArrayList([]const u8).init(util.gpa); errdefer self.float_filter.deinit(); self.csd_filter = std.ArrayList([]const u8).init(util.gpa);