From e08d64d0d6a3a35a8e8efa78ed34a7c1a407fb04 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Wed, 18 Apr 2012 02:57:55 -0400 Subject: [PATCH] If we caught the message in these cases there is no reason to continue on. --- src/apps/deskcalc/CalcView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/deskcalc/CalcView.cpp b/src/apps/deskcalc/CalcView.cpp index ee7bef4213..1bfd2be46d 100644 --- a/src/apps/deskcalc/CalcView.cpp +++ b/src/apps/deskcalc/CalcView.cpp @@ -238,11 +238,11 @@ CalcView::MessageReceived(BMessage* message) switch (message->what) { case MSG_OPTIONS_AUTO_NUM_LOCK: ToggleAutoNumlock(); - break; + return; case MSG_OPTIONS_AUDIO_FEEDBACK: ToggleAudioFeedback(); - break; + return; } }