From 45f82fe6d0f7163de2189b1ea2ba7ad7808d8a93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Mon, 6 Sep 2010 09:15:31 +0000 Subject: [PATCH] Coding style fixes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38539 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mediaplayer/MainWin.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/apps/mediaplayer/MainWin.cpp b/src/apps/mediaplayer/MainWin.cpp index 5ac9fb41d0..bd8969bed3 100644 --- a/src/apps/mediaplayer/MainWin.cpp +++ b/src/apps/mediaplayer/MainWin.cpp @@ -753,10 +753,14 @@ MainWin::MessageReceived(BMessage* msg) float dx = msg->FindFloat("be:wheel_delta_x"); float dy = msg->FindFloat("be:wheel_delta_y"); bool inv = modifiers() & B_COMMAND_KEY; - if (dx > 0.1) PostMessage(inv ? M_VOLUME_DOWN : M_SKIP_PREV); - if (dx < -0.1) PostMessage(inv ? M_VOLUME_UP : M_SKIP_NEXT); - if (dy > 0.1) PostMessage(inv ? M_SKIP_PREV : M_VOLUME_DOWN); - if (dy < -0.1) PostMessage(inv ? M_SKIP_NEXT : M_VOLUME_UP); + if (dx > 0.1) + PostMessage(inv ? M_VOLUME_DOWN : M_SKIP_PREV); + if (dx < -0.1) + PostMessage(inv ? M_VOLUME_UP : M_SKIP_NEXT); + if (dy > 0.1) + PostMessage(inv ? M_SKIP_PREV : M_VOLUME_DOWN); + if (dy < -0.1) + PostMessage(inv ? M_SKIP_NEXT : M_VOLUME_UP); break; }