--- np2/win9x/dialog/dialogs.h 2005/03/20 13:12:50 1.6 +++ np2/win9x/dialog/dialogs.h 2006/12/24 00:52:30 1.8 @@ -1,10 +1,4 @@ -#ifdef STRICT -#define SUBCLASSPROC WNDPROC -#else -#define SUBCLASSPROC FARPROC -#endif - typedef struct { const TCHAR *title; const TCHAR *ext; @@ -24,7 +18,7 @@ extern const TCHAR str_int6[]; SendDlgItemMessage((a), (b), BM_SETCHECK, (c), 0) #define GetDlgItemCheck(a, b) \ - (((int)SendDlgItemMessage((a), (b), BM_GETCHECK, 0, 0))?1:0) + (((int)SendDlgItemMessage((a), (b), BM_GETCHECK, 0, 0)) != 0) #define AVE(a, b) \ (((a) + (b)) / 2)