cgvg (1.6.2-2) patch.1

Summary

 patch.1 |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

    
download this patch

Patch contents

--- cgvg-1.6.2.orig/patch.1
+++ cgvg-1.6.2/patch.1
@@ -0,0 +1,14 @@
+--- /usr/bin/cg	Mon Apr 30 13:40:21 2001
++++ /tmp/cg	Wed Jun 20 17:29:40 2001
+@@ -494,9 +494,9 @@
+ 	#   and get command character
+ 	chop $Input;
+ 	@Keys = split(/\s+/, $Input);
+-	do { $Command = shift @Keys; } while ((defined $Command) and !$Command);
++	do { $Command = shift @Keys; } while ((defined $Command) and !$Command and ($Command ne "0"));
+ 
+-	return 1 if !$Command;            # <Return> pressed, display next page
++	return 1 if !$Command and ($Command ne "0");            # <Return> pressed, display next page
+ 	return 1 if ($Command eq "v");
+ 	return undef if (($Command eq "q") | ($Command eq "Q"));
+ 	return -1 if (($Command eq "-") | ($Command eq "b") |