aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2006-07-12 13:16:13 +0000
committerKim F. Storm2006-07-12 13:16:13 +0000
commit99a20368116f90c7bbed30deac4494e5d06d54b7 (patch)
tree1b998b70a7af208027f479b6d9855921619f05be /src
parent0c64a8cd5d232fba721154348a55528cefc7b569 (diff)
downloademacs-99a20368116f90c7bbed30deac4494e5d06d54b7.tar.gz
emacs-99a20368116f90c7bbed30deac4494e5d06d54b7.zip
(sit_for): Tiny simplification.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 748456ba3a7..cf0d8668906 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6526,9 +6526,7 @@ sit_for (timeout, reading, do_display)
6526 } 6526 }
6527 else if (FLOATP (timeout)) 6527 else if (FLOATP (timeout))
6528 { 6528 {
6529 double seconds; 6529 double seconds = XFLOAT_DATA (timeout);
6530
6531 seconds = XFLOAT_DATA (timeout);
6532 sec = (int) seconds; 6530 sec = (int) seconds;
6533 usec = (int) ((seconds - sec) * 1000000); 6531 usec = (int) ((seconds - sec) * 1000000);
6534 } 6532 }