mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 13:03:31 +00:00
11 lines
334 B
Diff
11 lines
334 B
Diff
+++ ./greed.c
|
|
@@ -72,7 +72,7 @@
|
|
/* rnd() returns a random number between 1 and x */
|
|
#define rnd(x) (int)((lrand48() % (x)) + 1)
|
|
|
|
-#define LOCKPATH "/tmp/Greed.lock" /* lock path for high score file */
|
|
+#define LOCKPATH "@TERMUX_PREFIX@/tmp/Greed.lock" /* lock path for high score file */
|
|
|
|
#define LOCALSCOREFILE ".greedscores"
|
|
|