mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
fixed PROPSHEETHEADER nPages calculation
svn path=/trunk/; revision=10072
This commit is contained in:
parent
7933210d3c
commit
948db6b780
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue