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 5e1e2f19906..162b2038fd8 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -3990,7 +3990,7 @@ x_set_alpha (struct frame *f, Lisp_Object arg, Lisp_Object oldval) | |||
| 3990 | else if (INTEGERP (item)) | 3990 | else if (INTEGERP (item)) |
| 3991 | { | 3991 | { |
| 3992 | EMACS_INT ialpha = XINT (item); | 3992 | EMACS_INT ialpha = XINT (item); |
| 3993 | if (! (0 <= ialpha && alpha <= 100)) | 3993 | if (! (0 <= ialpha && ialpha <= 100)) |
| 3994 | args_out_of_range (make_number (0), make_number (100)); | 3994 | args_out_of_range (make_number (0), make_number (100)); |
| 3995 | alpha = ialpha / 100.0; | 3995 | alpha = ialpha / 100.0; |
| 3996 | } | 3996 | } |