Apply the same fix as r42996 for the suspend string as well. Fixes build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42997 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2011-10-30 13:46:43 +00:00
parent 3b7d1b050f
commit d07738ee1d

View File

@ -310,8 +310,10 @@ TBeMenu::AddStandardBeMenuItems()
item->SetEnabled(!dragging);
shutdownMenu->AddItem(item);
// String outside of ifdef block for collectcatkeys purposes
#if defined(APM_SUPPORT) || defined(B_COLLECTING_CATKEYS)
static const char* kSuspendMenuItemStr = B_TRANSLATE_MARK("Suspend");
#endif
#ifdef APM_SUPPORT
if (_kapm_control_(APM_CHECK_ENABLED) == B_OK) {
item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kSuspendMenuItemStr),