From b981f07445d12360b71536f32d6925a0f2b10597 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Wed, 27 Feb 2008 19:01:58 +0000 Subject: [PATCH] Don't try to modify something that doesn't exist --- src/InfoCon/buch/infocon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InfoCon/buch/infocon b/src/InfoCon/buch/infocon index 35b9d8e..9aa76c6 100755 --- a/src/InfoCon/buch/infocon +++ b/src/InfoCon/buch/infocon @@ -237,7 +237,7 @@ sub read_input } elsif ($ans eq ".") { $ans = ''; } - $ans =~ s/ *$//; + $ans =~ s/ *$// if $ans; return $ans; } -- 2.20.1