index
:
xd
master
X11 demo
World Wide Web Owner
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
xd.c
2
1 files changed, 1 insertions, 1 deletions
diff --git a/xd.c b/xd.c
index 51900cb..2e54639 100644
--- a/
xd.c
+++ b/
xd.c
@@ -4004,7 +4004,7 @@ static void GravityDemo(void)
g = 1.0 / d*d;
g /= 100.0;
- g /= gravobj[f].mass;
+ g *= gravobj[f].mass;
dx /= d;
dy /= d;