comparison src/os_mswin.c @ 8090:54cfe888c627 v7.4.1339

commit https://github.com/vim/vim/commit/418f81b5fa400ed59793384f2f3d9df45390f080 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 16 20:12:02 2016 +0100 patch 7.4.1339 Problem: Warnings when building the GUI with MingW. (Cesar Romani) Solution: Add type cats. (Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Tue, 16 Feb 2016 20:15:05 +0100
parents b6cb94ad97a4
children 563c923b1584
comparison
equal deleted inserted replaced
8089:e5d330ffb650 8090:54cfe888c627
739 VIM_ERROR, 739 VIM_ERROR,
740 #ifdef FEAT_GUI 740 #ifdef FEAT_GUI
741 gui.starting ? (char_u *)_("Message") : 741 gui.starting ? (char_u *)_("Message") :
742 #endif 742 #endif
743 (char_u *)_("Error"), 743 (char_u *)_("Error"),
744 p, (char_u *)_("&Ok"), 1, NULL, FALSE); 744 (char_u *)p, (char_u *)_("&Ok"),
745 1, NULL, FALSE);
745 break; 746 break;
746 } 747 }
747 ga_clear(&error_ga); 748 ga_clear(&error_ga);
748 } 749 }
749 } 750 }
2949 * lf->lfFaceName uses the current codepage. 2950 * lf->lfFaceName uses the current codepage.
2950 * TODO: Use Wide APIs instead of ANSI APIs. */ 2951 * TODO: Use Wide APIs instead of ANSI APIs. */
2951 if (enc_codepage >= 0 && (int)GetACP() != enc_codepage) 2952 if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
2952 { 2953 {
2953 int len; 2954 int len;
2954 enc_to_acp(name, (int)strlen((char *)name), &acpname, &len); 2955 enc_to_acp(name, (int)STRLEN(name), &acpname, &len);
2955 name = acpname; 2956 name = acpname;
2956 } 2957 }
2957 #endif 2958 #endif
2958 if (STRCMP(name, "*") == 0) 2959 if (STRCMP(name, "*") == 0)
2959 { 2960 {