notepad: Die if we get an unknown encoding name in load_encoding_name().

Francois Gouget fgouget at free.fr
Sun Sep 11 18:53:03 CDT 2011


On Mon, 12 Sep 2011, Octavian Voicu wrote:

> On Mon, Sep 12, 2011 at 12:22 AM, Francois Gouget <fgouget at free.fr> wrote:
> > -            assert(0 && "bad encoding in load_encoding_name");
> > +            assert("bad encoding in load_encoding_name");
> 
> Hello,
> 
> assert() is a debug macro which generates some code such that, during
> runtime: if the argument is non-zero, nothing happens;

Ah right. Sorry for the noise.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
      Broadcast message : fin du monde dans cinq minutes, repentez vous !


More information about the wine-devel mailing list