[interfacekit] Re: BMimeType::Set*(NULL)

  • From: "Erik Jaesler" <erik@xxxxxxxxxxxxxx>
  • To: interfacekit@xxxxxxxxxxxxx
  • Date: Wed, 21 Aug 2002 20:39:38 -0700

>BMimeType::SetIconForType() removes any existing icon from the database 

>when passed a NULL BBitmap. Since all the other BMimeType::Set*() 
>functions take pointer for the data items that are being set, I'm 
>thinking I may extend this behaviour universally (it oughtn't be much 
>extra work after I get the SetIconForType() behaviour done). Any 
>objections (incidentally, R5 mostly just crashes when passed a NULL 
>parameter for the other Set() functions)?

Not from me.  Code on!

e

Necessity is the plea for every infringement of human freedom. It is the 
argument of tyrants; it is the creed of slaves.
        -William Pitt, British prime-minister (1759-1806)


Other related posts: