diff options
| author | Paul Eggert | 2011-06-13 09:08:46 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-13 09:08:46 -0700 |
| commit | a690a978ec42934c3f9d29c15cddd0240ab7a009 (patch) | |
| tree | 6c35fc712c161a2f8816a3e7852bc6b1f787baf9 /src/ChangeLog | |
| parent | 01103c441a5c97c734c087fa074a941082fd0adb (diff) | |
| download | emacs-a690a978ec42934c3f9d29c15cddd0240ab7a009.tar.gz emacs-a690a978ec42934c3f9d29c15cddd0240ab7a009.zip | |
* xterm.c (x_alloc_nearest_color_1): Go back to original algorithm.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6bac6f00a3f..43e1f9dbc06 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,8 +1,6 @@ | |||
| 1 | 2011-06-13 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-13 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * xterm.c (x_alloc_nearest_color_1): Use a more-precise algorithm | 3 | * xterm.c (x_alloc_nearest_color_1): Prefer int to long when int works. |
| 4 | for nearest color, one that neither overflows nor relies on unsigned | ||
| 5 | arithmetic. | ||
| 6 | 4 | ||
| 7 | Remove unnecessary casts. | 5 | Remove unnecessary casts. |
| 8 | * xterm.c (x_term_init): | 6 | * xterm.c (x_term_init): |