Mercurial > vim
comparison src/os_mswin.c @ 1702:5232b9862f23 v7.2 v7.2.000
updated for version 7.2-000
author | vimboss |
---|---|
date | Sat, 09 Aug 2008 17:55:22 +0000 |
parents | f4f8014d516e |
children | a8aae2e1d2ae |
comparison
equal
deleted
inserted
replaced
1701:4577899b8ff1 | 1702:5232b9862f23 |
---|---|
1726 *(ptr ) = *(ptr + 2); | 1726 *(ptr ) = *(ptr + 2); |
1727 *(ptr + 2) = temp; | 1727 *(ptr + 2) = temp; |
1728 return colorref; | 1728 return colorref; |
1729 } | 1729 } |
1730 | 1730 |
1731 /* Attempt to make this work for old and new compilers */ | |
1732 #if _MSC_VER < 1300 | |
1733 # define PDP_RETVAL BOOL | |
1734 #else | |
1735 # define PDP_RETVAL INT_PTR | |
1736 #endif | |
1737 | |
1731 /*ARGSUSED*/ | 1738 /*ARGSUSED*/ |
1732 static BOOL CALLBACK | 1739 static PDP_RETVAL CALLBACK |
1733 PrintDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) | 1740 PrintDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
1734 { | 1741 { |
1735 #ifdef FEAT_GETTEXT | 1742 #ifdef FEAT_GETTEXT |
1736 NONCLIENTMETRICS nm; | 1743 NONCLIENTMETRICS nm; |
1737 static HFONT hfont; | 1744 static HFONT hfont; |