Fix parsing error

This commit is contained in:
hasufell 2014-10-05 18:09:49 +02:00
parent 197dc99058
commit 6c677d55b8
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -5,4 +5,6 @@ import System.Environment
main :: IO ()
main = do
a <- getArgs
makeGUI (if null a then head a else "")
case null a of
False -> makeGUI (head a)
True -> makeGUI ""