[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: RICHED20: EM_SETCHARFORMAT must return 0, not assert,
From: Alexandre Julliard <julliard () winehq ! org>
Date: 2007-09-26 17:39:41
Message-ID: 87myv9qqaq.fsf () wine ! dyndns ! org
[Download RAW message or body]
a_villacis@palosanto.com writes:
> I considered doing this at first, but ME_ToCF2W is used in three other
> places beside handling EM_SETCHARFORMAT (all in style.c), and those places
> might get a null-pointer exception instead of an assert if something went
> wrong.
A null-pointer exception serves the same purpose as an assert, and
they both result in a debugger backtrace, so there's no reason to add
more asserts here.
--
Alexandre Julliard
julliard@winehq.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic