From 2aaeccd9ec5139f68b873f89b71276c4f0140b3c Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 20 May 2014 18:36:01 -0500 Subject: [PATCH] autoraise: Toggle not toogle; no functional change --- src/apps/autoraise/AutoRaiseIcon.cpp | 4 ++-- src/apps/autoraise/common.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/autoraise/AutoRaiseIcon.cpp b/src/apps/autoraise/AutoRaiseIcon.cpp index 51b1e03f0e..c51d9f7340 100644 --- a/src/apps/autoraise/AutoRaiseIcon.cpp +++ b/src/apps/autoraise/AutoRaiseIcon.cpp @@ -44,7 +44,7 @@ ConfigMenu::ConfigMenu(TrayView *tv, bool useMag) SetFont(be_plain_font); - BMenuItem *active = new BMenuItem("Active", new BMessage(MSG_TOOGLE_ACTIVE)); + BMenuItem *active = new BMenuItem("Active", new BMessage(MSG_TOGGLE_ACTIVE)); active->SetMarked(s->Active()); AddItem(active); @@ -499,7 +499,7 @@ void TrayView::MessageReceived(BMessage* message) switch(message->what) { - case MSG_TOOGLE_ACTIVE: + case MSG_TOGGLE_ACTIVE: SetActive(!_settings->Active()); break; case MSG_SET_ACTIVE: diff --git a/src/apps/autoraise/common.h b/src/apps/autoraise/common.h index b7d62f280f..797bc0d85a 100644 --- a/src/apps/autoraise/common.h +++ b/src/apps/autoraise/common.h @@ -57,7 +57,7 @@ enum { #define MSG_DELAY_POPUP 'arDP' -#define MSG_TOOGLE_ACTIVE 'arTA' +#define MSG_TOGGLE_ACTIVE 'arTA' #define MSG_SET_ACTIVE 'arSA' #define MSG_SET_INACTIVE 'arSI' #define MSG_SET_DELAY 'arSD'