projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
517df5c
)
Replace assignment of array to struct with field-by-field assignment
author
Nigel Stewart
<nigels.com@gmail.com>
Tue, 30 Dec 2003 02:22:11 +0000
(
02:22
+0000)
committer
Nigel Stewart
<nigels.com@gmail.com>
Tue, 30 Dec 2003 02:22:11 +0000
(
02:22
+0000)
suppress gcc -Wall -pendantic "noise"
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@428
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_cursor.c
patch
|
blob
|
history
diff --git
a/src/freeglut_cursor.c
b/src/freeglut_cursor.c
index
bda8083
..
63b9070
100644
(file)
--- a/
src/freeglut_cursor.c
+++ b/
src/freeglut_cursor.c
@@
-253,7
+253,10
@@
void FGAPIENTRY glutWarpPointer( int x, int y )
#elif TARGET_HOST_WIN32
{
- POINT coords = { x, y };
+ POINT coords;
+ coords.x = x;
+ coords.y = y;
+
/*
* ClientToScreen() translates {coords} for us.
*/