From 70b4129ef3b1b257d1080cfe2bd526ef16f9e771 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Mon, 23 Dec 2002 12:51:57 +0000 Subject: [PATCH] Borland updates (from Yitzhak) --- include/ntconf.h | 1 + win/win32/mhfont.h | 2 +- win/win32/winhack.rc | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/include/ntconf.h b/include/ntconf.h index 5995f69a2..d4d846d57 100644 --- a/include/ntconf.h +++ b/include/ntconf.h @@ -135,6 +135,7 @@ extern void NDECL(toggle_mouse_support); #include #include #else +int _RTLENTRY _EXPFUNC access (const char _FAR *__path, int __amode); int _RTLENTRY _EXPFUNC _chdrive(int __drive); int _RTLENTRYF _EXPFUNC32 chdir( const char _FAR *__path ); char _FAR * _RTLENTRY _EXPFUNC getcwd( char _FAR *__buf, int __buflen ); diff --git a/win/win32/mhfont.h b/win/win32/mhfont.h index 2f88cdfcc..291bfd32b 100644 --- a/win/win32/mhfont.h +++ b/win/win32/mhfont.h @@ -11,6 +11,6 @@ HGDIOBJ mswin_get_font(int win_type, int attr, HDC hdc, BOOL replace); void mswin_init_splashfonts(HWND hWnd); void mswin_destroy_splashfonts(void); -UINT mswin_charset(); +UINT mswin_charset(void); #endif /* MSWINFont_h */ diff --git a/win/win32/winhack.rc b/win/win32/winhack.rc index e1acfe65d..82be7c279 100644 --- a/win/win32/winhack.rc +++ b/win/win32/winhack.rc @@ -117,7 +117,7 @@ END IDD_NHTEXT DIALOGEX 0, 0, 172, 178 STYLE DS_SETFOREGROUND | WS_CHILD | WS_THICKFRAME EXSTYLE WS_EX_STATICEDGE -FONT 8, "MS Sans Serif", 0, 0, 0x1 +FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "OK",IDOK,54,163,50,14 EDITTEXT IDC_TEXT_CONTROL,0,0,170,160,ES_MULTILINE | @@ -127,7 +127,7 @@ END IDD_MENU DIALOGEX 0, 0, 187, 153 STYLE WS_CHILD | WS_CLIPSIBLINGS | WS_THICKFRAME EXSTYLE WS_EX_CLIENTEDGE | WS_EX_CONTROLPARENT | WS_EX_STATICEDGE -FONT 8, "MS Sans Serif", 0, 0, 0x1 +FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "OK",IDOK,7,132,50,14,BS_FLAT PUSHBUTTON "Cancel",IDCANCEL,130,132,50,14,BS_FLAT @@ -192,7 +192,7 @@ END IDD_NHRIP DIALOGEX 0, 0, 281, 209 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Here lies..." -FONT 8, "MS Sans Serif", 0, 0, 0x1 +FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "OK",IDOK,82,188,50,14 END -- 2.40.0