]> ruderich.org/simon Gitweb - fcscs/fcscs.git/blobdiff - bin/fcscs
fix indentation
[fcscs/fcscs.git] / bin / fcscs
index d45747123a55f60acf2ea913b3df6b03be906537..cb68b04a6ca7050d75fcdfdfc807dc5d6bf4f759 100755 (executable)
--- a/bin/fcscs
+++ b/bin/fcscs
@@ -611,6 +611,8 @@ sub extend_match {
 
     $screen->debug('extend_match', 'started');
 
+    return if not defined $match;
+
     $screen->prompt(name => 'extend', value => undef);
     $screen->draw_prompt($config);
 
@@ -1376,8 +1378,8 @@ RESULT:
             $screen->debug('input', 'selecting match');
             my $tmp = $result;
             $result = select_match($result->{select},
-                                $screen, \%config, $input,
-                                $result->{matches});
+                                   $screen, \%config, $input,
+                                   $result->{matches});
             $result->{handler} = $tmp->{handler};
             $result->{extend}  = $tmp->{extend};
             goto RESULT; # reprocess special entries in result