wesnothd: Add trailing new line to /info "Never" last login datetime string
This makes it consistent with the ctime() result for a valid last login datetime.
This commit is contained in:
parent
f4bb4adc89
commit
dc7cd70a6b
2 changed files with 2 additions and 2 deletions
|
@ -177,7 +177,7 @@ std::string fuh::user_info(const std::string& name) {
|
|||
if(ll_date) {
|
||||
ll_string = ctime(&ll_date);
|
||||
} else {
|
||||
ll_string = "Never";
|
||||
ll_string = "Never\n";
|
||||
}
|
||||
|
||||
std::stringstream info;
|
||||
|
|
|
@ -227,7 +227,7 @@ std::string suh::user_info(const std::string& name) {
|
|||
if(ll_date) {
|
||||
ll_string = ctime(&ll_date);
|
||||
} else {
|
||||
ll_string = "Never";
|
||||
ll_string = "Never\n";
|
||||
}
|
||||
|
||||
std::stringstream info;
|
||||
|
|
Loading…
Add table
Reference in a new issue