[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-dev] Re: [XaraXtreme-commits] Commit Complete



Gerry,

Index: Trunk/XaraLX/Kernel/sglayer.cpp

--On 05 April 2006 10:20 +0100 subversion@xxxxxxxxxxxxxx wrote:

+						CreateNewSubtree(Msg->pNewDocView ? Msg->pNewDocView->GetDoc() ?
NULL);

Are double ternary operators that portable? Doesn't this do the same
as

CreateNewSubtree(Msg->pNewDocView ? Msg->pNewDocView->GetDoc() : NULL);

which is rather easier to read

Alex