Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
374b449f
Commit
374b449f
authored
Feb 11, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Feb 12, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Remove assertions in graphics tests.
parent
241dd9ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
graphics.c
dlls/gdiplus/tests/graphics.c
+2
-3
No files found.
dlls/gdiplus/tests/graphics.c
View file @
374b449f
...
...
@@ -20,7 +20,6 @@
*/
#include <math.h>
#include <assert.h>
#include "objbase.h"
#include "gdiplus.h"
...
...
@@ -60,7 +59,7 @@ static REAL units_to_pixels(REAL units, GpUnit unit, REAL dpi)
case
UnitMillimeter
:
return
units
*
dpi
/
mm_per_inch
;
default:
assert
(
0
);
ok
(
0
,
"Unsupported unit: %d
\n
"
,
unit
);
return
0
;
}
}
...
...
@@ -82,7 +81,7 @@ static REAL pixels_to_units(REAL pixels, GpUnit unit, REAL dpi)
case
UnitMillimeter
:
return
pixels
*
mm_per_inch
/
dpi
;
default:
assert
(
0
);
ok
(
0
,
"Unsupported unit: %d
\n
"
,
unit
);
return
0
;
}
}
...
...
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