[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/frame.c,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/src/frame.c,v |
Date: |
Wed, 12 Nov 2008 15:52:12 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 08/11/12 15:52:12
Index: frame.c
===================================================================
RCS file: /sources/emacs/emacs/src/frame.c,v
retrieving revision 1.397
retrieving revision 1.398
diff -u -b -r1.397 -r1.398
--- frame.c 2 Nov 2008 10:38:42 -0000 1.397
+++ frame.c 12 Nov 2008 15:52:12 -0000 1.398
@@ -3654,9 +3654,9 @@
else
item = arg;
- if (! NILP (item))
- {
- if (FLOATP (item))
+ if (NILP (item))
+ alpha = - 1.0;
+ else if (FLOATP (item))
{
alpha = XFLOAT_DATA (item);
if (alpha < 0.0 || 1.0 < alpha)
@@ -3672,7 +3672,6 @@
}
else
wrong_type_argument (Qnumberp, item);
- }
newval[i] = alpha;
}