fix locale problem (decimal separator isn't dot but comma)
commit23fe017bd4dc01330518887a2a6eda85dc59d5bc
authoruzsolt <udvzsolt@gmail.com>
Wed, 2 Jan 2013 11:13:45 +0000 (2 12:13 +0100)
committerUli Schlachter <psychon@znc.in>
Sun, 6 Jan 2013 11:08:02 +0000 (6 12:08 +0100)
tree549673c9764d224f2f949bfce21259f68fca143d
parent02ea5f9b238c691bc9cd91590ff69a998c2ec1e8
fix locale problem (decimal separator isn't dot but comma)

If user changes locale with os.setlocale to a "dirty"
locale (which use comma as decimal separator (not dot), e.g.
hu_HU) `tonumber` will produce "0,6" instead of "0.6"
which causes bad comparision.

Signed-off-by: uzsolt <udvzsolt@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/gears/surface.lua.in