diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index 8e643ee5c76..f156c469703 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -5081,6 +5081,11 @@ compare_window_configurations (c1, c2, ignore_positions) | |||
| 5081 | struct Lisp_Vector *sw1, *sw2; | 5081 | struct Lisp_Vector *sw1, *sw2; |
| 5082 | int i; | 5082 | int i; |
| 5083 | 5083 | ||
| 5084 | if (!WINDOW_CONFIGURATIONP (c1)) | ||
| 5085 | wrong_type_argument (Qwindow_configuration_p, c1); | ||
| 5086 | if (!WINDOW_CONFIGURATIONP (c2)) | ||
| 5087 | wrong_type_argument (Qwindow_configuration_p, c2); | ||
| 5088 | |||
| 5084 | d1 = (struct save_window_data *) XVECTOR (c1); | 5089 | d1 = (struct save_window_data *) XVECTOR (c1); |
| 5085 | d2 = (struct save_window_data *) XVECTOR (c2); | 5090 | d2 = (struct save_window_data *) XVECTOR (c2); |
| 5086 | sw1 = XVECTOR (d1->saved_windows); | 5091 | sw1 = XVECTOR (d1->saved_windows); |