if() (was: Re: ib - r31084 - abiword/trunk/src/wp/ap/xp)

From: Hubert Figuière <hfiguiere_at_teaser.fr>
Date: Wed May 09 2012 - 19:42:39 CEST

On 09/05/12 10:36 AM, cvs@abisource.com wrote:

> + /* The editors aren't working yet. Remove if they do work. */
> + if (id == AP_MENU_ID_RDFANCHOR_EDITSEMITEM) return EV_MIS_Gray;

Please, don't put the statement on the same line as the if(). Ideally
you would add also curly braces.
Same applies for the else.

Hub
Received on Wed May 9 19:42:53 2012

This archive was generated by hypermail 2.1.8 : Wed May 09 2012 - 19:42:53 CEST