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

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



Was that a polite way of saying "you've made a typo"?

It was meant to be a : (it is a : in the Xtreme source but I retyped it
in LX rather than copying it and I must have just hit the wrong key).

I'll fix it now...

Gerry

-----Original Message-----
From: owner-dev@xxxxxxxxxxxxxxxx [mailto:owner-dev@xxxxxxxxxxxxxxxx] On
Behalf Of Alex Bligh
Sent: 05 April 2006 10:23
To: dev@xxxxxxxxxxxxxx
Cc: Alex Bligh
Subject: [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