blob: a7502155ecb78b10baeb5872de2de8fd70079409 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
To: vim_dev@googlegroups.com
Subject: Patch 8.1.1273
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------
Patch 8.1.1273
Problem: Compiler warning in direct write code.
Solution: Add a type cast.
Files: src/gui_dwrite.cpp
*** ../vim-8.1.1272/src/gui_dwrite.cpp 2019-03-25 22:48:14.699379700 +0100
--- src/gui_dwrite.cpp 2019-05-05 13:18:45.622497721 +0200
***************
*** 949,955 ****
if (mDrawing)
{
hr = mRT->EndDraw();
! if (hr == D2DERR_RECREATE_TARGET)
{
hr = S_OK;
DiscardDeviceResources();
--- 949,955 ----
if (mDrawing)
{
hr = mRT->EndDraw();
! if (hr == (HRESULT)D2DERR_RECREATE_TARGET)
{
hr = S_OK;
DiscardDeviceResources();
*** ../vim-8.1.1272/src/version.c 2019-05-05 13:14:24.815627694 +0200
--- src/version.c 2019-05-05 13:19:34.702273290 +0200
***************
*** 769,770 ****
--- 769,772 ----
{ /* Add new patch number below this line */
+ /**/
+ 1273,
/**/
--
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|