fixed PROPSHEETHEADER nPages calculation

svn path=/trunk/; revision=10072
This commit is contained in:
Gero Kuehn 2004-07-10 22:06:40 +00:00
parent 7933210d3c
commit 948db6b780
3 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: access.c,v 1.1 2004/06/30 12:16:27 ekohl Exp $
/* $Id: access.c,v 1.2 2004/07/10 22:06:39 kuehng Exp $
*
* PROJECT: ReactOS System Control Panel
* FILE: lib/cpl/system/sysdm.c
@ -111,7 +111,7 @@ SystemApplet(VOID)
psh.hInstance = hApplet;
psh.hIcon = LoadIcon(hApplet, MAKEINTRESOURCE(IDI_CPLACCESS));
psh.pszCaption = Caption;
psh.nPages = sizeof(psp) / sizeof(PROPSHEETHEADER);
psh.nPages = sizeof(psp) / sizeof(PROPSHEETPAGE);
psh.nStartPage = 0;
psh.ppsp = psp;
psh.pfnCallback = PropSheetProc;

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: appwiz.c,v 1.2 2004/06/30 12:11:11 ekohl Exp $
/* $Id: appwiz.c,v 1.3 2004/07/10 22:06:39 kuehng Exp $
*
* PROJECT: ReactOS Software Control Panel
* FILE: lib/cpl/system/appwiz.c
@ -226,7 +226,7 @@ SystemApplet(VOID)
psh.hInstance = hApplet;
psh.hIcon = LoadIcon(hApplet, MAKEINTRESOURCE(IDI_CPLSYSTEM));
psh.pszCaption = Caption;
psh.nPages = sizeof(psp) / sizeof(PROPSHEETHEADER);
psh.nPages = sizeof(psp) / sizeof(PROPSHEETPAGE);
psh.nStartPage = 0;
psh.ppsp = psp;
psh.pfnCallback = NULL;

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: cplsample.c,v 1.2 2004/03/08 14:20:14 weiden Exp $
/* $Id: cplsample.c,v 1.3 2004/07/10 22:06:40 kuehng Exp $
*
* PROJECT: ReactOS Sample Control Panel
* FILE: lib/cpl/cplsample/cplsample.c
@ -153,7 +153,7 @@ Applet1(VOID)
psh.hInstance = hApplet;
psh.u1.hIcon = LoadIcon(hApplet, MAKEINTRESOURCE(IDC_CPLICON_1));
psh.pszCaption = Caption;
psh.nPages = sizeof(psp) / sizeof(PROPSHEETHEADER);
psh.nPages = sizeof(psp) / sizeof(PROPSHEETPAGE);
psh.u2.nStartPage = 0;
psh.u3.ppsp = psp;
psh.pfnCallback = PropSheetProc;