Archived
「🔨」 fix(Phonebook): Fixed so text is aligned at right and not left
This commit is contained in:
1 parent
c7d6cd6115
commit
45b1262d9d
1 file changed
+1
-1
@@ -22,7 +22,7 @@ std::string PhoneBook::__formatstr(std::string str) {
|
||||
}
|
||||
else {
|
||||
while (str.size() < 10)
|
||||
str.append(" ");
|
||||
str.insert(0, " ");
|
||||
}
|
||||
return (str);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user