From 7d9dfe90a5aaadb73dfd76f0ed596d8a5eb79901 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Fri, 21 Aug 2009 15:24:37 +0000 Subject: [PATCH] fixed style violations git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32571 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/ServerWindow.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/servers/app/ServerWindow.cpp b/src/servers/app/ServerWindow.cpp index 2a12821ba8..804e5aadaf 100644 --- a/src/servers/app/ServerWindow.cpp +++ b/src/servers/app/ServerWindow.cpp @@ -122,7 +122,7 @@ static profile sRedrawProcessingTime; // TODO: Move to another file struct BufferState { - BufferState(const direct_buffer_state &state) + BufferState(const direct_buffer_state& state) : fState(state) { @@ -161,14 +161,14 @@ public: bool full_screen; private: - bool _HandleStop(const direct_buffer_state &state); - bool _HandleStart(const direct_buffer_state &state); - bool _HandleModify(const direct_buffer_state &state); + bool _HandleStop(const direct_buffer_state& state); + bool _HandleStart(const direct_buffer_state& state); + bool _HandleModify(const direct_buffer_state& state); - sem_id fSem; - sem_id fAcknowledgeSem; - area_id fBufferArea; - int32 fTransition; + sem_id fSem; + sem_id fAcknowledgeSem; + area_id fBufferArea; + int32 fTransition; }; @@ -270,7 +270,7 @@ DirectWindowData::SetState(const direct_buffer_state& bufferState, bool -DirectWindowData::_HandleStop(const direct_buffer_state &state) +DirectWindowData::_HandleStop(const direct_buffer_state& state) { buffer_info->buffer_state = B_DIRECT_STOP; if (fTransition-- >= 1) @@ -280,7 +280,7 @@ DirectWindowData::_HandleStop(const direct_buffer_state &state) bool -DirectWindowData::_HandleStart(const direct_buffer_state &state) +DirectWindowData::_HandleStart(const direct_buffer_state& state) { buffer_info->buffer_state = (direct_buffer_state)(BufferState(buffer_info->buffer_state).Reason() | state); @@ -292,7 +292,7 @@ DirectWindowData::_HandleStart(const direct_buffer_state &state) bool -DirectWindowData::_HandleModify(const direct_buffer_state &state) +DirectWindowData::_HandleModify(const direct_buffer_state& state) { buffer_info->buffer_state = state; if (fTransition > 0)