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) {
|
if (message->FindInt32("error code", &errorCode) == B_OK) {
|
||||||
snprintf(buffer, sizeof(buffer),
|
snprintf(buffer, sizeof(buffer),
|
||||||
B_TRANSLATE("The following error occured "
|
B_TRANSLATE("The following error occured "
|
||||||
"while synchronizing:\r\n%s: %s"),
|
"while synchronizing:\n%s: %s"),
|
||||||
errorString, strerror(errorCode));
|
errorString, strerror(errorCode));
|
||||||
} else {
|
} else {
|
||||||
snprintf(buffer, sizeof(buffer),
|
snprintf(buffer, sizeof(buffer),
|
||||||
B_TRANSLATE("The following error occured "
|
B_TRANSLATE("The following error occured "
|
||||||
"while synchronizing:\r\n%s"),
|
"while synchronizing:\n%s"),
|
||||||
errorString);
|
errorString);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -94,13 +94,13 @@ main(int argc, char** argv)
|
|||||||
const char* errorString = NULL;
|
const char* errorString = NULL;
|
||||||
int32 errorCode = 0;
|
int32 errorCode = 0;
|
||||||
if (update_time(settings, &errorString, &errorCode) == B_OK) {
|
if (update_time(settings, &errorString, &errorCode) == B_OK) {
|
||||||
printf("Synchronization successful\r\n");
|
printf("Synchronization successful\n");
|
||||||
} else if (errorCode != 0) {
|
} else if (errorCode != 0) {
|
||||||
printf("The following error occured "
|
printf("The following error occured "
|
||||||
"while synchronizing:\r\n%s: %s\r\n",
|
"while synchronizing:\n%s: %s\n",
|
||||||
errorString, strerror(errorCode));
|
errorString, strerror(errorCode));
|
||||||
} else {
|
} else {
|
||||||
printf("The following error occured while synchronizing:\r\n%s\r\n",
|
printf("The following error occured while synchronizing:\n%s\n",
|
||||||
errorString);
|
errorString);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user