1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/games/bunnysay/files/patch-src_bunnysay.cc
Wen Heping 654f8cc28d - Update to 1.1
PR:		217569
Submitted by:	ben.lavery@hashbang0.com(maintainer)
2017-03-06 07:05:10 +00:00

20 lines
448 B
C++

--- src/bunnysay.cc.orig 2017-02-28 03:26:39 UTC
+++ src/bunnysay.cc
@@ -99,7 +99,7 @@ void fullWidth(std::vector<std::vector<R
}
void padTo(std::vector<std::vector<Rune>> *input, size_t width) {
- bool left = false;
+ bool left = true;
for (auto &rv: *input) {
while(rv.size() < width) {
if (left) {
@@ -109,6 +109,7 @@ void padTo(std::vector<std::vector<Rune>
}
left = !left;
}
+ left = true;
}
}