projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3629ad5
)
[WIN32K]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Mon, 9 Jun 2014 13:36:20 +0000
(13:36 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Mon, 9 Jun 2014 13:36:20 +0000
(13:36 +0000)
* Improve FLOATOBJ_Set{0,1}. By Timo.
svn path=/trunk/; revision=63577
reactos/win32ss/gdi/eng/floatobj.h
patch
|
blob
|
history
diff --git
a/reactos/win32ss/gdi/eng/floatobj.h
b/reactos/win32ss/gdi/eng/floatobj.h
index
91fe93e
..
8101c5f
100644
(file)
--- a/
reactos/win32ss/gdi/eng/floatobj.h
+++ b/
reactos/win32ss/gdi/eng/floatobj.h
@@
-63,8
+63,8
@@
extern const FLOATOBJ gef16;
#define FLOATOBJ_16 {0x40000000, 0x00000006}
#define FLOATOBJ_1_16 {0x40000000, 0xfffffffe}
-#define FLOATOBJ_Set0(fo)
(fo)->ul1 = 0; (fo)->ul2 = 0;
-#define FLOATOBJ_Set1(fo)
(fo)->ul1 = 0x40000000; (fo)->ul2 = 2;
+#define FLOATOBJ_Set0(fo)
do { (fo)->ul1 = 0; (fo)->ul2 = 0; } while (0)
+#define FLOATOBJ_Set1(fo)
do { (fo)->ul1 = 0x40000000; (fo)->ul2 = 2; } while (0)
#else