summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-07-26 06:17:25 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-07-26 06:17:25 -0700
commit9e9f8582a893f1e97b1f8955f69b96f969ee1f85 (patch)
treeef8b4c36f8b88d1273572b8140a8651854b65e6b /src/dispnew.c
parent54e3f15626296c1ece932852df2b3d4938b0b44a (diff)
downloademacs-9e9f8582a893f1e97b1f8955f69b96f969ee1f85.tar.gz
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/dispnew.c')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 045ad2ed70b..2d137b4abbd 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -5829,7 +5829,7 @@ sit_for (Lisp_Object timeout, bool reading, int display_option)
else if (FLOATP (timeout))
{
double seconds = XFLOAT_DATA (timeout);
- if (! (seconds > 0))
+ if (! (0 < seconds))
return Qt;
else
{