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:
@@ -310,8 +310,10 @@ TBeMenu::AddStandardBeMenuItems()
|
|||||||
item->SetEnabled(!dragging);
|
item->SetEnabled(!dragging);
|
||||||
shutdownMenu->AddItem(item);
|
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");
|
static const char* kSuspendMenuItemStr = B_TRANSLATE_MARK("Suspend");
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef APM_SUPPORT
|
#ifdef APM_SUPPORT
|
||||||
if (_kapm_control_(APM_CHECK_ENABLED) == B_OK) {
|
if (_kapm_control_(APM_CHECK_ENABLED) == B_OK) {
|
||||||
item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kSuspendMenuItemStr),
|
item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kSuspendMenuItemStr),
|
||||||
|
|||||||
Reference in New Issue
Block a user