On 30 Oct 2000, Jean-Marc Lasgouttes wrote:

> >>>>> "Marko" == Marko Vendelin <[EMAIL PROTECTED]> writes:
> 
> Marko> the attached patch replaces NULL with 0 in the gnome frontend
> Marko> code and makes the frontend to compile again by
> Marko> replacing/adding update() with updateSlot() where appropriate.
> Marko> It seems that DialogBase is changing its methods quite often
> Marko> which is one more good reason to establish class hierarchy
> Marko> among gnome frontend classes.
> 
> Hi,
> 
> Is there a particular reason why you use:
>   if (search_text_ != 0) search_text_->save_history();
> instead of
>   if (search_text_) search_text_->save_history();
> 
> The second form is used commonly in LyX code.

That what hapens if you replace NULL with 0. I'll replace "if
(search_text_ != 0) " with "if (search_text_)" in the code later.

Marko

Reply via email to