mokasin / apw

Small and simple Awesome WM widget to control volume of Pulseaudio.
37 stars 33 forks source link

lua 5.3 string.format() can't will work with integer values only #13

Closed cipherself closed 9 years ago

cipherself commented 9 years ago

lua 5.3 introduces a new integer subtype for numbers [0] and string.format() will only work with ints. Volume is used as a float and passed to string.format() --Line no.95 in pulseaudio.lua--, while this works fine prior to lua 5.3, it fails with 5.3.

[0] http://www.lua.org/manual/5.3/manual.html#8.1

cipherself commented 9 years ago

Closing this issue as it has been fixed in #14