On Thu, May 03, 2007 at 11:43:01AM +0200, Abdelrazak Younes wrote:
> Juergen Spitzmueller wrote:
> >Abdelrazak Younes wrote:
> >
> >>This patch does that and a bit more. It ensures that the coords are
> >>saved and restored in any case (closeEvent and buffer switching). It
> >>also does move the preamble related code in apply() and
> >>updateParam() in the new PreambleModule class. Ideally I'd like all
> >>modules to follow the same route.
> >
> >I have no time to check that now, but if you find your solution
> >working also with buffer changes (and buffer changes with open
> >dialogs and buffer changes with different documents with identical
> >preambles), please go ahead and put it in.
> 
> I am facing something really weird with the BufferParams address.
> BufferParams is a full member of Buffer (or rather Buffer::Impl); yet
> I am obtaining only two addresses independently of the number of
> opened buffer. It seems I cannot get the  real address of the
> BufferParams object which is passed by reference...  really weird.
> Does anybody knows if there is something special about getting the
> address of something passed as reference? First time ever I face this
> problem...

Nothing special.

Compiled with optimizations enabled in MSVC?

If so, the code is most likely correct and the debugger is lying.

Andre'

Reply via email to