Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
eb7d51b6
Commit
eb7d51b6
authored
Oct 20, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Fix a stupid copy/paste typo in Release return value.
parent
be699372
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
font.c
dlls/dwrite/font.c
+3
-3
gdiinterop.c
dlls/dwrite/gdiinterop.c
+1
-1
layout.c
dlls/dwrite/layout.c
+2
-2
main.c
dlls/dwrite/main.c
+2
-2
No files found.
dlls/dwrite/font.c
View file @
eb7d51b6
...
@@ -211,7 +211,7 @@ static ULONG WINAPI dwritefontface_Release(IDWriteFontFace *iface)
...
@@ -211,7 +211,7 @@ static ULONG WINAPI dwritefontface_Release(IDWriteFontFace *iface)
if
(
!
ref
)
if
(
!
ref
)
heap_free
(
This
);
heap_free
(
This
);
return
S_OK
;
return
ref
;
}
}
static
DWRITE_FONT_FACE_TYPE
WINAPI
dwritefontface_GetType
(
IDWriteFontFace
*
iface
)
static
DWRITE_FONT_FACE_TYPE
WINAPI
dwritefontface_GetType
(
IDWriteFontFace
*
iface
)
...
@@ -405,7 +405,7 @@ static ULONG WINAPI dwritefont_Release(IDWriteFont *iface)
...
@@ -405,7 +405,7 @@ static ULONG WINAPI dwritefont_Release(IDWriteFont *iface)
heap_free
(
This
);
heap_free
(
This
);
}
}
return
S_OK
;
return
ref
;
}
}
static
HRESULT
WINAPI
dwritefont_GetFontFamily
(
IDWriteFont
*
iface
,
IDWriteFontFamily
**
family
)
static
HRESULT
WINAPI
dwritefont_GetFontFamily
(
IDWriteFont
*
iface
,
IDWriteFontFamily
**
family
)
...
@@ -558,7 +558,7 @@ static ULONG WINAPI dwritefontfamily_Release(IDWriteFontFamily *iface)
...
@@ -558,7 +558,7 @@ static ULONG WINAPI dwritefontfamily_Release(IDWriteFontFamily *iface)
heap_free
(
This
);
heap_free
(
This
);
}
}
return
S_OK
;
return
ref
;
}
}
static
HRESULT
WINAPI
dwritefontfamily_GetFontCollection
(
IDWriteFontFamily
*
iface
,
IDWriteFontCollection
**
collection
)
static
HRESULT
WINAPI
dwritefontfamily_GetFontCollection
(
IDWriteFontFamily
*
iface
,
IDWriteFontCollection
**
collection
)
...
...
dlls/dwrite/gdiinterop.c
View file @
eb7d51b6
...
@@ -84,7 +84,7 @@ static ULONG WINAPI rendertarget_Release(IDWriteBitmapRenderTarget *iface)
...
@@ -84,7 +84,7 @@ static ULONG WINAPI rendertarget_Release(IDWriteBitmapRenderTarget *iface)
heap_free
(
This
);
heap_free
(
This
);
}
}
return
S_OK
;
return
ref
;
}
}
static
HRESULT
WINAPI
rendertarget_DrawGlyphRun
(
IDWriteBitmapRenderTarget
*
iface
,
static
HRESULT
WINAPI
rendertarget_DrawGlyphRun
(
IDWriteBitmapRenderTarget
*
iface
,
...
...
dlls/dwrite/layout.c
View file @
eb7d51b6
...
@@ -104,7 +104,7 @@ static ULONG WINAPI dwritetextlayout_Release(IDWriteTextLayout *iface)
...
@@ -104,7 +104,7 @@ static ULONG WINAPI dwritetextlayout_Release(IDWriteTextLayout *iface)
heap_free
(
This
);
heap_free
(
This
);
}
}
return
S_OK
;
return
ref
;
}
}
static
HRESULT
WINAPI
dwritetextlayout_SetTextAlignment
(
IDWriteTextLayout
*
iface
,
DWRITE_TEXT_ALIGNMENT
alignment
)
static
HRESULT
WINAPI
dwritetextlayout_SetTextAlignment
(
IDWriteTextLayout
*
iface
,
DWRITE_TEXT_ALIGNMENT
alignment
)
...
@@ -710,7 +710,7 @@ static ULONG WINAPI dwritetextformat_Release(IDWriteTextFormat *iface)
...
@@ -710,7 +710,7 @@ static ULONG WINAPI dwritetextformat_Release(IDWriteTextFormat *iface)
heap_free
(
This
);
heap_free
(
This
);
}
}
return
S_OK
;
return
ref
;
}
}
static
HRESULT
WINAPI
dwritetextformat_SetTextAlignment
(
IDWriteTextFormat
*
iface
,
DWRITE_TEXT_ALIGNMENT
alignment
)
static
HRESULT
WINAPI
dwritetextformat_SetTextAlignment
(
IDWriteTextFormat
*
iface
,
DWRITE_TEXT_ALIGNMENT
alignment
)
...
...
dlls/dwrite/main.c
View file @
eb7d51b6
...
@@ -99,7 +99,7 @@ static ULONG WINAPI renderingparams_Release(IDWriteRenderingParams *iface)
...
@@ -99,7 +99,7 @@ static ULONG WINAPI renderingparams_Release(IDWriteRenderingParams *iface)
if
(
!
ref
)
if
(
!
ref
)
heap_free
(
This
);
heap_free
(
This
);
return
S_OK
;
return
ref
;
}
}
static
FLOAT
WINAPI
renderingparams_GetGamma
(
IDWriteRenderingParams
*
iface
)
static
FLOAT
WINAPI
renderingparams_GetGamma
(
IDWriteRenderingParams
*
iface
)
...
@@ -236,7 +236,7 @@ static ULONG WINAPI localizedstrings_Release(IDWriteLocalizedStrings *iface)
...
@@ -236,7 +236,7 @@ static ULONG WINAPI localizedstrings_Release(IDWriteLocalizedStrings *iface)
heap_free
(
This
);
heap_free
(
This
);
}
}
return
S_OK
;
return
ref
;
}
}
static
UINT32
WINAPI
localizedstrings_GetCount
(
IDWriteLocalizedStrings
*
iface
)
static
UINT32
WINAPI
localizedstrings_GetCount
(
IDWriteLocalizedStrings
*
iface
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment