[haiku-commits] Re: haiku: hrev43427 - src/apps/screenshot

  • From: "Michael Lotz" <mmlr@xxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 07 Dec 2011 16:57:37 +0100

Clemens <clemens.zeidler@xxxxxxxxxxxxxx> wrote:
> On Wed, 07 Dec 2011 12:25:31 +1300, <mmlr@xxxxxxxx> wrote:
> > -   BMimeType mimeType(_GetMimeString(imageType));
> > +   BMimeType mimeType(_GetMimeString(imageType).String());
> 
> is that necessary? shouldn't the BString operator:
> 
> operator const char*() const;
> 
> do the job?

Honestly I didn't even think about it or check. I guess it should work, 
can change that later.

Regards
Michael

Other related posts: