Author: phoudoin Date: 2010-09-08 10:43:22 +0200 (Wed, 08 Sep 2010) New Revision: 38575 Changeset: http://dev.haiku-os.org/changeset/38575 Modified: haiku/trunk/src/apps/glteapot/ObjectView.cpp haiku/trunk/src/preferences/backgrounds/BackgroundsView.cpp Log: Style fix, as suggested by Jer?\195?\131?\194?\180me. Modified: haiku/trunk/src/apps/glteapot/ObjectView.cpp =================================================================== --- haiku/trunk/src/apps/glteapot/ObjectView.cpp 2010-09-08 08:01:53 UTC (rev 38574) +++ haiku/trunk/src/apps/glteapot/ObjectView.cpp 2010-09-08 08:43:22 UTC (rev 38575) @@ -518,8 +518,8 @@ } } 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); } } Modified: haiku/trunk/src/preferences/backgrounds/BackgroundsView.cpp =================================================================== --- haiku/trunk/src/preferences/backgrounds/BackgroundsView.cpp 2010-09-08 08:01:53 UTC (rev 38574) +++ haiku/trunk/src/preferences/backgrounds/BackgroundsView.cpp 2010-09-08 08:43:22 UTC (rev 38575) @@ -1204,8 +1204,8 @@ 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;