Allow changing max name len via hints file
authorPasi Kallinen <paxed@alt.org>
Sun, 5 Feb 2017 07:59:56 +0000 (09:59 +0200)
committerPasi Kallinen <paxed@alt.org>
Sun, 5 Feb 2017 07:59:56 +0000 (09:59 +0200)
src/topten.c

index 84146e9ad47373382ecd1a173a3075ddccf9ff93..ec689abc4d3979339014196dc6ef797a39be9d5e 100644 (file)
@@ -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