aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frame.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/frame.c b/src/frame.c
index 6e2a1a21e55..1fdeb129f89 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -3030,8 +3030,7 @@ x_set_line_spacing (f, new_value, old_value)
3030 else if (NATNUMP (new_value)) 3030 else if (NATNUMP (new_value))
3031 f->extra_line_spacing = XFASTINT (new_value); 3031 f->extra_line_spacing = XFASTINT (new_value);
3032 else 3032 else
3033 Fsignal (Qerror, Fcons (build_string ("Invalid line-spacing"), 3033 signal_error ("Invalid line-spacing", new_value);
3034 Fcons (new_value, Qnil)));
3035 if (FRAME_VISIBLE_P (f)) 3034 if (FRAME_VISIBLE_P (f))
3036 redraw_frame (f); 3035 redraw_frame (f);
3037} 3036}
@@ -3051,8 +3050,7 @@ x_set_screen_gamma (f, new_value, old_value)
3051 /* The value 0.4545 is the normal viewing gamma. */ 3050 /* The value 0.4545 is the normal viewing gamma. */
3052 f->gamma = 1.0 / (0.4545 * XFLOATINT (new_value)); 3051 f->gamma = 1.0 / (0.4545 * XFLOATINT (new_value));
3053 else 3052 else
3054 Fsignal (Qerror, Fcons (build_string ("Invalid screen-gamma"), 3053 signal_error ("Invalid screen-gamma", new_value);
3055 Fcons (new_value, Qnil)));
3056 3054
3057 clear_face_cache (0); 3055 clear_face_cache (0);
3058} 3056}