diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c index 74588cea702..4089ec94b9e 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -4001,7 +4001,7 @@ x_set_alpha (struct frame *f, Lisp_Object arg, Lisp_Object oldval) | |||
| 4001 | else if (INTEGERP (item)) | 4001 | else if (INTEGERP (item)) |
| 4002 | { | 4002 | { |
| 4003 | EMACS_INT ialpha = XINT (item); | 4003 | EMACS_INT ialpha = XINT (item); |
| 4004 | if (! (0 <= ialpha && alpha <= 100)) | 4004 | if (! (0 <= ialpha && ialpha <= 100)) |
| 4005 | args_out_of_range (make_number (0), make_number (100)); | 4005 | args_out_of_range (make_number (0), make_number (100)); |
| 4006 | alpha = ialpha / 100.0; | 4006 | alpha = ialpha / 100.0; |
| 4007 | } | 4007 | } |