summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-25 22:13:59 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-25 22:13:59 +0000
commit551dbcc9b604c2992f908fb475e797fcc116315b (patch)
treed48db26e4f3470df23fdd8e8593bcf067fab4142 /src/os_mswin.c
parentf9393ef5efde2f425fbd9e19363186f8c9103376 (diff)
downloadvim-git-551dbcc9b604c2992f908fb475e797fcc116315b.tar.gz
updated for version 7.0f01v7.0f01
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 9e8b64d2d..efbd01d73 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -2323,9 +2323,10 @@ mch_print_set_font(int iBold, int iItalic, int iUnderline)
}
void
-mch_print_set_bg(unsigned long bgcol)
+mch_print_set_bg(long_u bgcol)
{
- SetBkColor(prt_dlg.hDC, GetNearestColor(prt_dlg.hDC, swap_me(bgcol)));
+ SetBkColor(prt_dlg.hDC, GetNearestColor(prt_dlg.hDC,
+ swap_me((COLORREF)bgcol)));
/*
* With a white background we can draw characters transparent, which is
* good for italic characters that overlap to the next char cell.
@@ -2337,9 +2338,10 @@ mch_print_set_bg(unsigned long bgcol)
}
void
-mch_print_set_fg(unsigned long fgcol)
+mch_print_set_fg(long_u fgcol)
{
- SetTextColor(prt_dlg.hDC, GetNearestColor(prt_dlg.hDC, swap_me(fgcol)));
+ SetTextColor(prt_dlg.hDC, GetNearestColor(prt_dlg.hDC,
+ swap_me((COLORREF)fgcol)));
}
#endif /*FEAT_PRINTER && !FEAT_POSTSCRIPT*/