File: text-wrap.patch

package info (click to toggle)
libterm-prompt-perl 1.04-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 132 kB
  • sloc: perl: 448; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: fix typo in Text::Wrap usage
Origin: vendor
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=102472
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=102472
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1427464
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-05-01

--- a/lib/Term/Prompt.pm
+++ b/lib/Term/Prompt.pm
@@ -508,7 +508,7 @@
     my $width = get_width();
 
     if (defined($width) && $width) {
-	$Text::Wrap::Columns = $width;
+	$Text::Wrap::columns = $width;
     }
 
     if ($message =~ m/\n\Z/) {