Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
71b311de
Unverified
Commit
71b311de
authored
Dec 15, 2019
by
IKEDA Soji
Committed by
GitHub
Dec 15, 2019
Browse files
Merge pull request #823 from ikedas/enbugged_wrap_text by ikedas
Fixing a bug injected by
83f6907e
(6.2.45b.3). (#822)
parents
3623a259
9ddffe97
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Tools/Text.pm
View file @
71b311de
...
...
@@ -121,8 +121,8 @@ sub wrap_text {
my
$subs
=
shift
;
my
$cols
=
shift
;
$init
=
'
'
x
length
(
$init
//
''
)
;
$subs
=
'
'
x
length
(
$subs
//
''
)
;
$init
//
=
'';
$subs
//
=
'';
$cols
//
=
78
;
return
$text
unless
$cols
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment