summaryrefslogtreecommitdiffstats
path: root/crypto/cryptlib.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-08-03 20:04:05 +0000
committerAndy Polyakov <appro@openssl.org>2005-08-03 20:04:05 +0000
commit2d54cc69c91acd43b60e5a40722a4902f7dac428 (patch)
treef5cee9423cbebe15f5afe52bea044984c38cad44 /crypto/cryptlib.c
parent2dd8278de8240f0c8139dc09a4c24f3c46e6bfd1 (diff)
WCE update, mostly typos [from HEAD].
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r--crypto/cryptlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index c6a7173ab0..315559c71c 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -669,9 +669,9 @@ void OPENSSL_showfatal (const char *fmta,...)
{ va_list ap;
TCHAR buf[256];
const TCHAR *fmt;
+#ifdef STD_ERROR_HANDLE /* what a dirty trick! */
HANDLE h;
-#ifdef STD_ERROR_HANDLE /* what a dirty trick! */
if ((h=GetStdHandle(STD_ERROR_HANDLE)) != NULL &&
GetFileType(h)!=FILE_TYPE_UNKNOWN)
{ /* must be console application */
@@ -734,7 +734,7 @@ void OPENSSL_showfatal (const char *fmta,...)
}
else
#endif
- MessageBox (NULL,buf,_T("OpenSSL: FATAL"),MB_OK|MB_ICONSTOP|MB_TASKMODAL);
+ MessageBox (NULL,buf,_T("OpenSSL: FATAL"),MB_OK|MB_ICONSTOP);
}
#else
void OPENSSL_showfatal (const char *fmta,...)