gregistrysettings: bump key name length to 128

32 is just too low for key names, specially since the registry has a limit
of 16,383 chars. Giving that, 128 is a good bump for now.
This commit is contained in:
Ignacio Casal Quinteiro 2019-09-30 18:13:17 +02:00
parent c27be686e6
commit 9239f2659f

View File

@ -98,7 +98,7 @@
//#define TRACE
/* GSettings' limit */
#define MAX_KEY_NAME_LENGTH 32
#define MAX_KEY_NAME_LENGTH 128
/* Testing (on Windows XP SP3) shows that WaitForMultipleObjects fails with
* "The parameter is incorrect" after 64 watches. We need one for the