diff options
author | Ignacio Casal Quinteiro <qignacio@amazon.com> | 2019-09-30 18:13:17 +0200 |
---|---|---|
committer | Ignacio Casal Quinteiro <qignacio@amazon.com> | 2019-10-01 14:35:43 +0200 |
commit | 9239f2659f6f56f116d4d05f1a1bb0c9fb263206 (patch) | |
tree | e2864d7c1dd972fa2b638b670d7033a009c215da /gio/gregistrysettingsbackend.c | |
parent | c27be686e6af76192c561182bf089b74478ba965 (diff) |
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.
Diffstat (limited to 'gio/gregistrysettingsbackend.c')
-rw-r--r-- | gio/gregistrysettingsbackend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gregistrysettingsbackend.c b/gio/gregistrysettingsbackend.c index 26de2518c..0afe54b27 100644 --- a/gio/gregistrysettingsbackend.c +++ b/gio/gregistrysettingsbackend.c @@ -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 |