From 89a8d08baf3d0f7693444d793e996087f0a36bb4 Mon Sep 17 00:00:00 2001
From: Don Armstrong <don@volo>
Date: Mon, 19 Feb 2007 00:04:48 -0800
Subject: [PATCH] Add support for a height/width in the version_url function

---
 Debbugs/CGI.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Debbugs/CGI.pm b/Debbugs/CGI.pm
index e5f23758..ea4d67b9 100644
--- a/Debbugs/CGI.pm
+++ b/Debbugs/CGI.pm
@@ -131,11 +131,13 @@ Creates a link to the version cgi script
 =cut
 
 sub version_url{
-     my ($package,$found,$fixed) = @_;
+     my ($package,$found,$fixed,$width,$height) = @_;
      my $url = Debbugs::URI->new('version.cgi?');
      $url->query_form(package => $package,
 		      found   => $found,
 		      fixed   => $fixed,
+		      (defined $width)?(width => $width):(),
+		      (defined $height)?(height => $height):()
 		     );
      return $url->as_string;
 }
-- 
2.39.5