settings: double internal size of "path list" from 80 to 160 bytes

* Autoresume path list
 * Database scan path list

Gives us a bit more headroom

Change-Id: Icb78d6f46dd39658334ddc3d8dc44863b0e138b4
This commit is contained in:
Solomon Peachy 2026-01-13 08:04:47 -05:00
parent 450687bc3d
commit 1c429e2209

View file

@ -41,6 +41,7 @@ struct opt_items {
/** Setting values defines **/
#define MAX_FILENAME 32
#define MAX_PATHNAME 80
#define MAX_PATHLIST (MAX_PATHNAME*2)
/* The values are assigned to the enums so that they correspond to */
/* setting values in settings_list.c */
@ -627,9 +628,9 @@ struct user_settings
bool autoresume_enable; /* enable auto-resume feature? */
int autoresume_automatic; /* resume next track? 0=never, 1=always,
2=custom */
unsigned char autoresume_paths[MAX_PATHNAME+1]; /* colon-separated list */
unsigned char autoresume_paths[MAX_PATHLIST+1]; /* colon-separated list */
bool runtimedb; /* runtime database active? */
unsigned char tagcache_scan_paths[MAX_PATHNAME+1];
unsigned char tagcache_scan_paths[MAX_PATHLIST+1];
unsigned char tagcache_db_path[MAX_PATHNAME+1];
#endif /* HAVE_TAGCACHE */