From: Tomas Wenström Date: Sun, 11 Aug 2019 10:57:08 +0000 (+0200) Subject: Bugfix - remove breaks X-Git-Url: http://dolda2000.com/gitweb/?p=kaka%2Fcakelight.git;a=commitdiff_plain;h=6d89e87fca5b33073f31cbe472cb4517be89a84c;hp=53b74d649c2ec536f9fc800013d85ac892aa008c Bugfix - remove breaks --- diff --git a/src/kaka/cakelight/Console.java b/src/kaka/cakelight/Console.java index 0d45b7f..cd48f49 100644 --- a/src/kaka/cakelight/Console.java +++ b/src/kaka/cakelight/Console.java @@ -51,12 +51,10 @@ public class Console extends Thread { String[] split = input.split("\\s+"); config.gamma = Double.parseDouble(split[1]); System.out.println("setting gamma to " + config.gamma); - break; } else if (input.matches("s|saturation\\s+[0-9.]+")) { String[] split = input.split("\\s+"); config.video.saturation = Double.parseDouble(split[1]); System.out.println("setting saturation to " + config.video.saturation); - break; } } catch (IOException e) { System.out.println("Error reading from command line");