Time preferences: remove \r
We are not Windows, we don't need these.
This commit is contained in:
@@ -409,12 +409,12 @@ NetworkTimeView::MessageReceived(BMessage* message)
|
||||
if (message->FindInt32("error code", &errorCode) == B_OK) {
|
||||
snprintf(buffer, sizeof(buffer),
|
||||
B_TRANSLATE("The following error occured "
|
||||
"while synchronizing:\r\n%s: %s"),
|
||||
"while synchronizing:\n%s: %s"),
|
||||
errorString, strerror(errorCode));
|
||||
} else {
|
||||
snprintf(buffer, sizeof(buffer),
|
||||
B_TRANSLATE("The following error occured "
|
||||
"while synchronizing:\r\n%s"),
|
||||
"while synchronizing:\n%s"),
|
||||
errorString);
|
||||
}
|
||||
|
||||
|
||||
@@ -94,13 +94,13 @@ main(int argc, char** argv)
|
||||
const char* errorString = NULL;
|
||||
int32 errorCode = 0;
|
||||
if (update_time(settings, &errorString, &errorCode) == B_OK) {
|
||||
printf("Synchronization successful\r\n");
|
||||
printf("Synchronization successful\n");
|
||||
} else if (errorCode != 0) {
|
||||
printf("The following error occured "
|
||||
"while synchronizing:\r\n%s: %s\r\n",
|
||||
"while synchronizing:\n%s: %s\n",
|
||||
errorString, strerror(errorCode));
|
||||
} else {
|
||||
printf("The following error occured while synchronizing:\r\n%s\r\n",
|
||||
printf("The following error occured while synchronizing:\n%s\n",
|
||||
errorString);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user