1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Initialize the member atr_buffer.

Pointed out by:	Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
This commit is contained in:
KATO Takenori 1999-01-27 08:22:08 +00:00
parent 8ad8dc79db
commit e7d91a508f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=43272

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: syscons.c,v 1.108 1999/01/18 14:48:34 kato Exp $
* $Id: syscons.c,v 1.109 1999/01/19 12:41:26 kato Exp $
*/
#include "sc.h"
@ -4015,6 +4015,9 @@ init_scp(scr_stat *scp)
scp->status = 0;
scp->mode = initial_video_mode;
scp->scr_buf = NULL;
#ifdef PC98
scp->atr_buf = NULL;
#endif
if (info.vi_flags & V_INFO_GRAPHICS) {
scp->status |= GRAPHICS_MODE;
scp->xpixel = info.vi_width;