Style fix, as suggested by Jerôme.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38575 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2010-09-08 08:43:22 +00:00
parent d3902df608
commit 2e0de40436
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -518,8 +518,8 @@ ObjectView::MouseMoved(BPoint point, uint32 transit, const BMessage *msg)
} }
} else { } else {
void* object = fObjects.ItemAt(ObjectAtPoint(point)); void* object = fObjects.ItemAt(ObjectAtPoint(point));
BCursor cursor(object != NULL ? BCursor cursor(object != NULL
B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT); ? B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT);
SetViewCursor(&cursor); SetViewCursor(&cursor);
} }
} }
@@ -1204,8 +1204,8 @@ void
PreView::MouseMoved(BPoint point, uint32 transit, const BMessage* message) PreView::MouseMoved(BPoint point, uint32 transit, const BMessage* message)
{ {
if (!IsTracking()) { if (!IsTracking()) {
BCursor cursor(IsEnabled() ? BCursor cursor(IsEnabled()
B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT); ? B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT);
SetViewCursor(&cursor); SetViewCursor(&cursor);
} else { } else {
float x, y; float x, y;