mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 04:27:58 +01:00
m
This commit is contained in:
parent
9727e1d51e
commit
b3d9b671f0
1 changed files with 2 additions and 0 deletions
|
@ -2015,6 +2015,8 @@ class Backend():
|
|||
extraleft -= msgwidth - width
|
||||
elif justify == 'c':
|
||||
extraleft -= (msgwidth - width) >> 1
|
||||
if extraleft < 0:
|
||||
extraleft = 0
|
||||
if extraleft + msgwidth > wrap:
|
||||
extraleft -= msgwidth - wrap
|
||||
|
||||
|
|
Loading…
Reference in a new issue