Page Numbers Preview bug on Win32


Subject: Page Numbers Preview bug on Win32
From: Sean R. Bright (elixer@erols.com)
Date: Wed Feb 07 2001 - 13:30:30 CST


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:35:02 CST