diff options
| author | Eli Zaretskii | 2021-02-10 18:10:17 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2021-02-10 18:10:17 +0200 |
| commit | 9b0d76e93b1e72425f8ee67de5eea74520beb5dd (patch) | |
| tree | 6844ba4000d61762703af9beecc686e6f00fb85d /src | |
| parent | f3ae26cb2ae581a84bbaa15a47e9917a799a5682 (diff) | |
| download | emacs-9b0d76e93b1e72425f8ee67de5eea74520beb5dd.tar.gz emacs-9b0d76e93b1e72425f8ee67de5eea74520beb5dd.zip | |
Bump FACE_CACHE_BUCKETS_SIZE to 1009
* src/xfaces.c (FACE_CACHE_BUCKETS_SIZE): Make it 1009, a prime
number, per the comment. Reported by Win Treese <treese@acm.org>.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 12087138e51..4b020001c31 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -289,7 +289,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 289 | /* Size of hash table of realized faces in face caches (should be a | 289 | /* Size of hash table of realized faces in face caches (should be a |
| 290 | prime number). */ | 290 | prime number). */ |
| 291 | 291 | ||
| 292 | #define FACE_CACHE_BUCKETS_SIZE 1001 | 292 | #define FACE_CACHE_BUCKETS_SIZE 1009 |
| 293 | 293 | ||
| 294 | char unspecified_fg[] = "unspecified-fg", unspecified_bg[] = "unspecified-bg"; | 294 | char unspecified_fg[] = "unspecified-fg", unspecified_bg[] = "unspecified-bg"; |
| 295 | 295 | ||