Fix mixed up button labels.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40694 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström 2011-02-26 05:57:46 +00:00
parent 0805772b3f
commit 9f0f6fcd99

View File

@ -1252,7 +1252,7 @@ ShutdownProcess::_WorkerDoShutdown()
? B_TRANSLATE("Do you really want to restart the system?")
: B_TRANSLATE("Do you really want to shut down the system?");
const char* defaultText = fReboot ? restart : shutdown;
const char* otherText = fReboot ? restart : shutdown;
const char* otherText = fReboot ? shutdown : restart;
BAlert* alert = new BAlert(title.String(), text,
B_TRANSLATE("Cancel"), otherText, defaultText,
B_WIDTH_AS_USUAL, B_WARNING_ALERT);