Re: Page Numbers Preview bug on Win32


Subject: Re: Page Numbers Preview bug on Win32
From: Thomas Briggs (tom@sane.com)
Date: Wed Feb 07 2001 - 13:54:59 CST


   Confirmed, patched, tested and committed. This looks to be XP and
therefore I made no attempt to make a Win32-specific fix.

   That's gotta be some kind of record. :)

   -Tom

----- Original Message -----
From: "Sean R. Bright" <elixer@erols.com>
To: <abiword-dev@abisource.com>
Sent: Wednesday, February 07, 2001 2:30 PM
Subject: Page Numbers Preview bug on Win32

> Hi, I found a small visual bug with a recent Win32 build from CVS and
> although I am not that familiar with the code so far, I have a small patch
> to fix it.
>
> When you bring up the Page Numbers dialog, the default alignment selected
is
> Center but the Preview window shows the "1" right aligned. Here is the
> patch though I am guessing this should be done somehow in the ap/win stuff
> rather then ap/xp, but here ya go anyway.
>
> Index: ap_Dialog_PageNumbers.cpp
> ===================================================================
> RCS file: /cvsroot/abi/src/wp/ap/xp/ap_Dialog_PageNumbers.cpp,v
> retrieving revision 1.4
> diff -u -r1.4 ap_Dialog_PageNumbers.cpp
> --- ap_Dialog_PageNumbers.cpp 2001/02/06 22:54:58 1.4
> +++ ap_Dialog_PageNumbers.cpp 2001/02/07 19:30:25
> @@ -26,7 +26,7 @@
> XAP_Dialog_Id id)
> : XAP_Dialog_NonPersistent(pDlgFactory,id)
> {
> - m_align = id_RALIGN;
> + m_align = id_CALIGN;
> m_control = id_FTR;
>
> m_answer = a_OK;
>
> Thanks,
> --
> ===================================================================
> Sean Bright
> elixer@erols.com / sean@seanbright.com / http://www.seanbright.com/
> ===================================================================
>
>
>



This archive was generated by hypermail 2b25 : Wed Feb 07 2001 - 13:47:40 CST