diff options
author | Ada Joule <ada.fulmina@gmail.com> | 2018-02-03 23:48:52 +0700 |
---|---|---|
committer | Ada Joule <ada.fulmina@gmail.com> | 2018-02-03 23:48:52 +0700 |
commit | 7fae6393d5a8b449a5fbb88797d5566ecd403213 (patch) | |
tree | 5416aa5c2d0d00c9c151900f17eacfdb9ebc4168 /src/Plugins/Monitors/CpuFreq.hs | |
parent | c2a493e8b26f39d0d7022b3caacdd6808a975419 (diff) | |
download | xmobar-7fae6393d5a8b449a5fbb88797d5566ecd403213.tar.gz xmobar-7fae6393d5a8b449a5fbb88797d5566ecd403213.tar.bz2 |
Remove x from ghzFmt
Diffstat (limited to 'src/Plugins/Monitors/CpuFreq.hs')
-rw-r--r-- | src/Plugins/Monitors/CpuFreq.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugins/Monitors/CpuFreq.hs b/src/Plugins/Monitors/CpuFreq.hs index 7e615a6..34240ee 100644 --- a/src/Plugins/Monitors/CpuFreq.hs +++ b/src/Plugins/Monitors/CpuFreq.hs @@ -39,6 +39,6 @@ runCpuFreq _ = do else ghzFmt x | otherwise = ghzFmt x ++ if suffix then "GHz" else "" mhzFmt x = show (round (x * 1000) :: Integer) - ghzFmt x = showDigits ddigits x + ghzFmt = showDigits ddigits failureMessage <- getConfigValue naString checkedDataRetrieval failureMessage [path] Nothing (/divisor) fmt |