Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
eb7d51b6
Commit
eb7d51b6
authored
12 years ago
by
Nikolay Sivov
Committed by
Alexandre Julliard
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
dwrite: Fix a stupid copy/paste typo in Release return value.
parent
be699372
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dlls/dwrite/font.c
+3
-3
3 additions, 3 deletions
dlls/dwrite/font.c
dlls/dwrite/gdiinterop.c
+1
-1
1 addition, 1 deletion
dlls/dwrite/gdiinterop.c
dlls/dwrite/layout.c
+2
-2
2 additions, 2 deletions
dlls/dwrite/layout.c
dlls/dwrite/main.c
+2
-2
2 additions, 2 deletions
dlls/dwrite/main.c
with
8 additions
and
8 deletions
dlls/dwrite/font.c
+
3
−
3
View file @
eb7d51b6
...
...
@@ -211,7 +211,7 @@ static ULONG WINAPI dwritefontface_Release(IDWriteFontFace *iface)
if
(
!
ref
)
heap_free
(
This
);
return
S_OK
;
return
ref
;
}
static
DWRITE_FONT_FACE_TYPE
WINAPI
dwritefontface_GetType
(
IDWriteFontFace
*
iface
)
...
...
@@ -405,7 +405,7 @@ static ULONG WINAPI dwritefont_Release(IDWriteFont *iface)
heap_free
(
This
);
}
return
S_OK
;
return
ref
;
}
static
HRESULT
WINAPI
dwritefont_GetFontFamily
(
IDWriteFont
*
iface
,
IDWriteFontFamily
**
family
)
...
...
@@ -558,7 +558,7 @@ static ULONG WINAPI dwritefontfamily_Release(IDWriteFontFamily *iface)
heap_free
(
This
);
}
return
S_OK
;
return
ref
;
}
static
HRESULT
WINAPI
dwritefontfamily_GetFontCollection
(
IDWriteFontFamily
*
iface
,
IDWriteFontCollection
**
collection
)
...
...
This diff is collapsed.
Click to expand it.
dlls/dwrite/gdiinterop.c
+
1
−
1
View file @
eb7d51b6
...
...
@@ -84,7 +84,7 @@ static ULONG WINAPI rendertarget_Release(IDWriteBitmapRenderTarget *iface)
heap_free
(
This
);
}
return
S_OK
;
return
ref
;
}
static
HRESULT
WINAPI
rendertarget_DrawGlyphRun
(
IDWriteBitmapRenderTarget
*
iface
,
...
...
This diff is collapsed.
Click to expand it.
dlls/dwrite/layout.c
+
2
−
2
View file @
eb7d51b6
...
...
@@ -104,7 +104,7 @@ static ULONG WINAPI dwritetextlayout_Release(IDWriteTextLayout *iface)
heap_free
(
This
);
}
return
S_OK
;
return
ref
;
}
static
HRESULT
WINAPI
dwritetextlayout_SetTextAlignment
(
IDWriteTextLayout
*
iface
,
DWRITE_TEXT_ALIGNMENT
alignment
)
...
...
@@ -710,7 +710,7 @@ static ULONG WINAPI dwritetextformat_Release(IDWriteTextFormat *iface)
heap_free
(
This
);
}
return
S_OK
;
return
ref
;
}
static
HRESULT
WINAPI
dwritetextformat_SetTextAlignment
(
IDWriteTextFormat
*
iface
,
DWRITE_TEXT_ALIGNMENT
alignment
)
...
...
This diff is collapsed.
Click to expand it.
dlls/dwrite/main.c
+
2
−
2
View file @
eb7d51b6
...
...
@@ -99,7 +99,7 @@ static ULONG WINAPI renderingparams_Release(IDWriteRenderingParams *iface)
if
(
!
ref
)
heap_free
(
This
);
return
S_OK
;
return
ref
;
}
static
FLOAT
WINAPI
renderingparams_GetGamma
(
IDWriteRenderingParams
*
iface
)
...
...
@@ -236,7 +236,7 @@ static ULONG WINAPI localizedstrings_Release(IDWriteLocalizedStrings *iface)
heap_free
(
This
);
}
return
S_OK
;
return
ref
;
}
static
UINT32
WINAPI
localizedstrings_GetCount
(
IDWriteLocalizedStrings
*
iface
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment