From 24c219c1a9c7c9cfe94a7d8bbe83922d5b034f65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 14 Aug 2009 17:05:10 +0000 Subject: [PATCH] Add newline in about. Fix ZETA build as yes, I still test stuff in ZETA :p Thanks Rene for noticing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32377 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/tracker/iconvader/IconVader.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/add-ons/tracker/iconvader/IconVader.cpp b/src/add-ons/tracker/iconvader/IconVader.cpp index 7eabce96af..901c8f9560 100644 --- a/src/add-ons/tracker/iconvader/IconVader.cpp +++ b/src/add-ons/tracker/iconvader/IconVader.cpp @@ -80,7 +80,7 @@ process_refs(entry_ref dir, BMessage* refs, void* /*reserved*/) - alert = new BAlert("Error", "IconVader:\nClick on the icons to get points. Avoid symlinks!", "Ok"); + alert = new BAlert("Error", "IconVader:\nClick on the icons to get points.\nAvoid symlinks!", "Ok"); alert->Go(); @@ -104,10 +104,18 @@ process_refs(entry_ref dir, BMessage* refs, void* /*reserved*/) score-=10; pose->Select(false); } +#ifdef __HAIKU__ BPoint location = pose->Location(view); +#else + BPoint location = pose->Location(); +#endif location.x += ((rand() % 20) - 10); location.y += ((rand() % 20) - 10); +#ifdef __HAIKU__ pose->SetLocation(location, view); +#else + pose->SetLocation(location); +#endif } view->CheckPoseVisibility();