diff --git a/lib/gears/color.lua.in b/lib/gears/color.lua.in index d285c4ae..1299ff61 100644 --- a/lib/gears/color.lua.in +++ b/lib/gears/color.lua.in @@ -105,7 +105,7 @@ local function string_pattern(creator, arg) table.insert(args, v) end -- And call our creator function with the values - local p = v(unpack(args)) + local p = creator(unpack(args)) add_iterator_stops(p, iterator) return p