diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-02-16 10:33:44 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-02-16 10:33:44 +0000 |
commit | 0da78a35723149c24389360aaf2053780fc87f8c (patch) | |
tree | 43d7330526d2bb5b6746d2ba62dfdeb306b05234 /games/xspringies | |
parent | Fixed URL for ftp.tex.ac.uk in MASTER_SITE_TEX_CTAN. (diff) |
Umm, "#" is not a comment character in C. ;)
Diffstat (limited to 'games/xspringies')
-rw-r--r-- | games/xspringies/files/patch-01 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/games/xspringies/files/patch-01 b/games/xspringies/files/patch-01 index f4c6f8eac1a6..2b7a99a54e7b 100644 --- a/games/xspringies/files/patch-01 +++ b/games/xspringies/files/patch-01 @@ -1,6 +1,6 @@ --- phys.c.orig Mon Mar 29 06:26:52 1993 +++ phys.c Sat Feb 15 16:54:26 1997 -@@ -212,11 +212,16 @@ +@@ -212,11 +212,15 @@ mass1 = m1->mass; mass2 = m2->mass; @@ -10,7 +10,6 @@ - m2->ax -= forcex / mass2; - m2->ay -= forcey / mass2; + -+ # gives "signal SIGFPE, Arithmetic exception" w/o the tests + if (mass1 != 0) { + m1->ax += forcex / mass1; + m1->ay += forcey / mass1; |