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