diff --git a/src/apps/glteapot/ObjectView.cpp b/src/apps/glteapot/ObjectView.cpp index 590a608d2d..c699dd200f 100644 --- a/src/apps/glteapot/ObjectView.cpp +++ b/src/apps/glteapot/ObjectView.cpp @@ -518,8 +518,8 @@ ObjectView::MouseMoved(BPoint point, uint32 transit, const BMessage *msg) } } else { void* object = fObjects.ItemAt(ObjectAtPoint(point)); - BCursor cursor(object != NULL ? - B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT); + BCursor cursor(object != NULL + ? B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT); SetViewCursor(&cursor); } } diff --git a/src/preferences/backgrounds/BackgroundsView.cpp b/src/preferences/backgrounds/BackgroundsView.cpp index 1077b1442a..d1db60156b 100644 --- a/src/preferences/backgrounds/BackgroundsView.cpp +++ b/src/preferences/backgrounds/BackgroundsView.cpp @@ -1204,8 +1204,8 @@ void PreView::MouseMoved(BPoint point, uint32 transit, const BMessage* message) { if (!IsTracking()) { - BCursor cursor(IsEnabled() ? - B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT); + BCursor cursor(IsEnabled() + ? B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT); SetViewCursor(&cursor); } else { float x, y;