diff options
Diffstat (limited to 'src/msdos.c')
| -rw-r--r-- | src/msdos.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/msdos.c b/src/msdos.c index bcb7fbe75e0..a214456d104 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -520,8 +520,8 @@ dos_set_window_size (int *rows, int *cols) | |||
| 520 | 520 | ||
| 521 | /* If the user specified a special video mode for these dimensions, | 521 | /* If the user specified a special video mode for these dimensions, |
| 522 | use that mode. */ | 522 | use that mode. */ |
| 523 | video_mode | 523 | video_mode |
| 524 | = Fsymbol_value (Fintern_soft (make_formatted_string | 524 | = Fsymbol_value (Fintern_soft (make_formatted_string |
| 525 | (video_name, "screen-dimensions-%dx%d", | 525 | (video_name, "screen-dimensions-%dx%d", |
| 526 | *rows, *cols), Qnil)); | 526 | *rows, *cols), Qnil)); |
| 527 | 527 | ||
| @@ -1801,7 +1801,7 @@ internal_terminal_init (void) | |||
| 1801 | } | 1801 | } |
| 1802 | 1802 | ||
| 1803 | tty = FRAME_TTY (sf); | 1803 | tty = FRAME_TTY (sf); |
| 1804 | KSET (current_kboard, Vwindow_system, Qpc); | 1804 | kset_window_system (current_kboard, Qpc); |
| 1805 | sf->output_method = output_msdos_raw; | 1805 | sf->output_method = output_msdos_raw; |
| 1806 | if (init_needed) | 1806 | if (init_needed) |
| 1807 | { | 1807 | { |
| @@ -2434,10 +2434,10 @@ and then the scan code. */) | |||
| 2434 | else | 2434 | else |
| 2435 | { | 2435 | { |
| 2436 | val = Fvector (NUM_RECENT_DOSKEYS, keys); | 2436 | val = Fvector (NUM_RECENT_DOSKEYS, keys); |
| 2437 | memcpy (XVECTOR (val)->contents, keys + recent_doskeys_index, | 2437 | vcopy (val, 0, keys + recent_doskeys_index, |
| 2438 | (NUM_RECENT_DOSKEYS - recent_doskeys_index) * word_size); | 2438 | NUM_RECENT_DOSKEYS - recent_doskeys_index); |
| 2439 | memcpy (XVECTOR (val)->contents + NUM_RECENT_DOSKEYS - recent_doskeys_index, | 2439 | vcopy (val, NUM_RECENT_DOSKEYS - recent_doskeys_index, |
| 2440 | keys, recent_doskeys_index * word_size); | 2440 | keys, recent_doskeys_index); |
| 2441 | return val; | 2441 | return val; |
| 2442 | } | 2442 | } |
| 2443 | } | 2443 | } |