1
0

🔨」 fix(Phonebook): Fixed so text is aligned at right and not left

This commit is contained in:
2024-11-12 21:56:58 +01:00
parent c7d6cd6115
commit 45b1262d9d

View File

@ -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);
} }