From 9f0f6fcd99edeb912fcc990245811126337df4de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sundstr=C3=B6m?= Date: Sat, 26 Feb 2011 05:57:46 +0000 Subject: [PATCH] Fix mixed up button labels. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40694 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/registrar/ShutdownProcess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/registrar/ShutdownProcess.cpp b/src/servers/registrar/ShutdownProcess.cpp index 890b2a1e64..a611348dff 100644 --- a/src/servers/registrar/ShutdownProcess.cpp +++ b/src/servers/registrar/ShutdownProcess.cpp @@ -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);