diff options
| author | Andreas Schwab | 2014-07-26 13:58:24 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2014-07-26 13:58:24 +0200 |
| commit | 3acf58eec890249179b6f992c59f9adcf05b8ca8 (patch) | |
| tree | 330419ff2ccea3f5aea9d49bd0e5aba8b1d386b2 /src/xterm.c | |
| parent | a072c708aaa91e61fa148b1a69884a40a5d8f9fb (diff) | |
| download | emacs-3acf58eec890249179b6f992c59f9adcf05b8ca8.tar.gz emacs-3acf58eec890249179b6f992c59f9adcf05b8ca8.zip | |
Reorder conditions that are written backwards
* alloc.c (xnmalloc, xnrealloc, xpalloc, make_save_value)
(Fgarbage_collect): Reorder conditions that are written backwards.
* data.c (cons_to_unsigned): Likewise.
* dispnew.c (update_frame_1, sit_for): Likewise.
* fileio.c (file_offset): Likewise.
* filelock.c (read_lock_data, lock_file): Likewise.
* fns.c (larger_vector, make_hash_table, Fmake_hash_table):
Likewise.
* font.c (font_intern_prop, font_style_symbolic): Likewise.
* lisp.h (FIXNUM_OVERFLOW_P): Likewise.
* lread.c (read1): Likewise.
* minibuf.c (read_minibuf_noninteractive): Likewise.
* nsterm.m (x_set_frame_alpha): Likewise.
* process.c (wait_reading_process_output): Likewise.
* region-cache.c (delete_cache_boundaries): Likewise.
* xterm.c (x_set_frame_alpha): Likewise.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 85835a2c7c5..df2a9f331ef 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -394,7 +394,7 @@ x_set_frame_alpha (struct frame *f) | |||
| 394 | return; | 394 | return; |
| 395 | else if (alpha > 1.0) | 395 | else if (alpha > 1.0) |
| 396 | alpha = 1.0; | 396 | alpha = 1.0; |
| 397 | else if (0.0 <= alpha && alpha < alpha_min && alpha_min <= 1.0) | 397 | else if (alpha >= 0.0 && alpha < alpha_min && alpha_min <= 1.0) |
| 398 | alpha = alpha_min; | 398 | alpha = alpha_min; |
| 399 | 399 | ||
| 400 | opac = alpha * OPAQUE; | 400 | opac = alpha * OPAQUE; |