alsabar: string.format use for preset.text in alsabar._notify

This commit is contained in:
copycat-killer 2015-03-28 11:40:06 +01:00
parent 91c1b804b9
commit c9b11c5962
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ function alsabar.notify()
end
local int = math.modf((alsabar._current_level / 100) * alsabar.notifications.bar_size)
preset.text = string.format("[%s%s]", string.rep("|", int),
preset.text = string.format("[%s%s]", string.rep("|", int),
string.rep(" ", alsabar.notifications.bar_size - int))
if alsabar._notify ~= nil then