[haiku-commits] Re: haiku: hrev47443 - in src: bin servers/app/drawing/interface/local add-ons/input_server/filters/shortcut_catcher

  • From: pulkomandy <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 30 Jun 2014 07:40:34 +0200

>   * BString::FindFirst() returns an index not a status_t so check that
>     it finds the path at the start of the string (index 0).

Wouldn't BString::StartsWith be more appropriate?

-- 
Adrien.

Other related posts: