0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

updated for version 7.2b-019

This commit is contained in:
Bram Moolenaar
2008-07-24 18:51:11 +00:00
parent 7693ec6e8a
commit e6a91fd994
7 changed files with 49 additions and 39 deletions

View File

@@ -1729,7 +1729,7 @@ swap_me(COLORREF colorref)
}
/*ARGSUSED*/
static BOOL CALLBACK
static INT_PTR CALLBACK
PrintDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
#ifdef FEAT_GETTEXT
@@ -2125,8 +2125,8 @@ mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit)
char_u *port_name = (char_u *)devname +devname->wOutputOffset;
char_u *text = _("to %s on %s");
prt_name = alloc(STRLEN(printer_name) + STRLEN(port_name)
+ STRLEN(text));
prt_name = alloc((unsigned)(STRLEN(printer_name) + STRLEN(port_name)
+ STRLEN(text)));
if (prt_name != NULL)
wsprintf(prt_name, text, printer_name, port_name);
}