comparison src/os_mswin.c @ 4352:04736b4030ec v7.3.925

updated for version 7.3.925 Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Mon, 06 May 2013 04:24:17 +0200
parents 26e59a39fdd9
children 784e342ddcae
comparison
equal deleted inserted replaced
4351:e5137a5dcf15 4352:04736b4030ec
1792 * created (and may also be called in the console version, where there is no 1792 * created (and may also be called in the console version, where there is no
1793 * GUI window at all). 1793 * GUI window at all).
1794 * 1794 *
1795 * So we create a hidden window, and arrange to destroy it on exit. 1795 * So we create a hidden window, and arrange to destroy it on exit.
1796 */ 1796 */
1797 HWND message_window = 0; /* window that's handling messsages */ 1797 HWND message_window = 0; /* window that's handling messages */
1798 1798
1799 #define VIM_CLASSNAME "VIM_MESSAGES" 1799 #define VIM_CLASSNAME "VIM_MESSAGES"
1800 #define VIM_CLASSNAME_LEN (sizeof(VIM_CLASSNAME) - 1) 1800 #define VIM_CLASSNAME_LEN (sizeof(VIM_CLASSNAME) - 1)
1801 1801
1802 /* Communication is via WM_COPYDATA messages. The message type is send in 1802 /* Communication is via WM_COPYDATA messages. The message type is send in
1855 } 1855 }
1856 } 1856 }
1857 1857
1858 static int save_reply(HWND server, char_u *reply, int expr); 1858 static int save_reply(HWND server, char_u *reply, int expr);
1859 1859
1860 /*s 1860 /*
1861 * The window procedure for the hidden message window. 1861 * The window procedure for the hidden message window.
1862 * It handles callback messages and notifications from servers. 1862 * It handles callback messages and notifications from servers.
1863 * In order to process these messages, it is necessary to run a 1863 * In order to process these messages, it is necessary to run a
1864 * message loop. Code which may run before the main message loop 1864 * message loop. Code which may run before the main message loop
1865 * is started (in the GUI) is careful to pump messages when it needs 1865 * is started (in the GUI) is careful to pump messages when it needs
2601 (FONTENUMPROC)font_enumproc, 2601 (FONTENUMPROC)font_enumproc,
2602 (LPARAM)lf); 2602 (LPARAM)lf);
2603 2603
2604 ReleaseDC(hwnd, hdc); 2604 ReleaseDC(hwnd, hdc);
2605 2605
2606 /* If we couldn't find a useable font, return failure */ 2606 /* If we couldn't find a usable font, return failure */
2607 if (n == 1) 2607 if (n == 1)
2608 return FAIL; 2608 return FAIL;
2609 2609
2610 /* Tidy up the rest of the LOGFONT structure. We set to a basic 2610 /* Tidy up the rest of the LOGFONT structure. We set to a basic
2611 * font - get_logfont() sets bold, italic, etc based on the user's 2611 * font - get_logfont() sets bold, italic, etc based on the user's