From dafc31f475ff93bf3f5af881231ef74aaa003138 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Wed, 22 Dec 2010 00:56:30 +0100 Subject: Same infinite loop for Cpu --- src/Plugins/Monitors/Cpu.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/Monitors/Cpu.hs b/src/Plugins/Monitors/Cpu.hs index ab89246..8715245 100644 --- a/src/Plugins/Monitors/Cpu.hs +++ b/src/Plugins/Monitors/Cpu.hs @@ -39,7 +39,7 @@ parseCPU = return percent formatCpu :: [Float] -> Monitor [String] -formatCpu [] = return $ repeat "" +formatCpu [] = return $ replicate 6 "" formatCpu xs = do let t = foldr (+) 0 $ take 3 xs b <- showPercentBar (100 * t) t -- cgit v1.2.3