r=javi,wtc, sr/a=brendan
OS/2 should follow some WIN32 paths in psm-glue
This commit is contained in:
mkaply%us.ibm.com 2001-01-05 23:05:03 +00:00
parent b09dbc93b9
commit d2e8035eef
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@
#define PSM_VERSION_REG_KEY "/Netscape/Personal Security Manager"
#ifdef WIN32
#if defined(WIN32) || defined(XP_OS2)
#define PSM_FILE_NAME "psm.exe"
#elif XP_UNIX
#define PSM_FILE_NAME "start-psm"

View File

@ -106,7 +106,7 @@ nsPSMUIHandlerImpl::DisplayURI(PRInt32 width, PRInt32 height, PRBool modal, cons
char buffer[256];
PR_snprintf(buffer,
sizeof(buffer),
#ifdef WIN32
#if defined(WIN32) || defined(XP_OS2)
modal ? "menubar=no,height=%d,width=%d,dependent,modal"
#else
(modal && win) ? "menubar=no,height=%d,width=%d,dependent"
@ -119,7 +119,7 @@ nsPSMUIHandlerImpl::DisplayURI(PRInt32 width, PRInt32 height, PRBool modal, cons
if (argv) {
// open the window
nsIDOMWindowInternal *newWindow;
#ifdef WIN32
#if defined(WIN32) || defined(XP_OS2)
if (modal && win) {
parentWindow->OpenDialog(jsContext, argv, 3, &newWindow);
} else {