We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9434ff0 commit cefd6abCopy full SHA for cefd6ab
reactos/win32ss/gdi/ntgdi/fillshap.c
@@ -214,8 +214,6 @@ NtGdiEllipse(
214
PBRUSH pFillBrushObj;
215
BRUSH tmpFillBrushObj;
216
217
- if ((Left == Right) || (Top == Bottom)) return TRUE;
218
-
219
dc = DC_LockDc(hDC);
220
if (dc == NULL)
221
{
@@ -236,6 +234,15 @@ NtGdiEllipse(
236
234
return ret;
237
235
}
238
+ ////
+ //// Could this use PATH_CheckCorners ?
239
240
+ if ((Left == Right) || (Top == Bottom))
241
+ {
242
+ DC_UnlockDc(dc);
243
+ return TRUE;
244
+ }
245
+
246
if (Right < Left)
247
248
INT tmp = Right; Right = Left; Left = tmp;
@@ -244,6 +251,7 @@ NtGdiEllipse(
251
252
INT tmp = Bottom; Bottom = Top; Top = tmp;
253
254
255
256
pdcattr = dc->pdcattr;
249
257
0 commit comments