[haiku-commits] Re: r35084 - haiku/trunk/src/apps/activitymonitor

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 15 Jan 2010 08:32:18 +0100

stpere@xxxxxxxxx wrote:
> +ActivityView::_LoadBackgroundInfo(bool watch)
> +{
> +     fCachedOutline = false;
> +     fCachedWorkspace = -1;
> +     BPath path;
> +     if (find_directory(B_DESKTOP_DIRECTORY, &path) == B_OK) {
> +             BNode desktopNode = BNode(path.Path());
> +
> +             attr_info info;
> +             if (desktopNode.GetAttrInfo(kDesktopAttrName, &info) != 
> B_OK)
> +                     return;
> +
> +             char *buffer = new char[info.size];

Nice changes! However, the last line introduces a different asterisk 
style.

Bye,
   Axel.


Other related posts: