aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPaul Eggert2014-07-26 06:17:25 -0700
committerPaul Eggert2014-07-26 06:17:25 -0700
commit9e9f8582a893f1e97b1f8955f69b96f969ee1f85 (patch)
treeef8b4c36f8b88d1273572b8140a8651854b65e6b /src/xterm.c
parent54e3f15626296c1ece932852df2b3d4938b0b44a (diff)
downloademacs-9e9f8582a893f1e97b1f8955f69b96f969ee1f85.tar.gz
emacs-9e9f8582a893f1e97b1f8955f69b96f969ee1f85.zip
Revert previous change.
There is certainly nothing wrong with writing code like 'lo <= i && i <= hi', even if LO happens to a constant. There isn't even anything wrong in general with writing 'a <= b' if A happens to be a constant. At any rate stylistic changes shouldn't be done like this without discussion.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index df2a9f331ef..85835a2c7c5 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 (alpha >= 0.0 && alpha < alpha_min && alpha_min <= 1.0) 397 else if (0.0 <= alpha && 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;