projects
/
nethack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac2fc52
)
Allow changing max name len via hints file
author
Pasi Kallinen
<paxed@alt.org>
Sun, 5 Feb 2017 07:59:56 +0000
(09:59 +0200)
committer
Pasi Kallinen
<paxed@alt.org>
Sun, 5 Feb 2017 07:59:56 +0000
(09:59 +0200)
src/topten.c
patch
|
blob
|
history
diff --git
a/src/topten.c
b/src/topten.c
index 84146e9ad47373382ecd1a173a3075ddccf9ff93..ec689abc4d3979339014196dc6ef797a39be9d5e 100644
(file)
--- a/
src/topten.c
+++ b/
src/topten.c
@@
-30,7
+30,10
@@
static long final_fpos;
#define newttentry() (struct toptenentry *) alloc(sizeof (struct toptenentry))
#define dealloc_ttentry(ttent) free((genericptr_t) (ttent))
+#ifndef NAMSZ
+/* Changing NAMSZ can break your existing record/logfile */
#define NAMSZ 10
+#endif
#define DTHSZ 100
#define ROLESZ 3