From 6d16a3e4302ef35f597fe709b73df1d0e762406a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 8 Nov 2015 02:42:17 +0000 Subject: [PATCH] [NTVDM]: Fix a bug I've introduced in r69838. svn path=/trunk/; revision=69845 --- reactos/subsystems/mvdm/ntvdm/hardware/video/svga.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsystems/mvdm/ntvdm/hardware/video/svga.c b/reactos/subsystems/mvdm/ntvdm/hardware/video/svga.c index 2cc5572ab90..f10cd3398ad 100644 --- a/reactos/subsystems/mvdm/ntvdm/hardware/video/svga.c +++ b/reactos/subsystems/mvdm/ntvdm/hardware/video/svga.c @@ -674,7 +674,8 @@ static VOID VgaLeaveCurrentMode(VOID) VgaConsoleDestroyTextScreen(); /* Cleanup the video data */ - TextFramebuffer = NULL; + // TextFramebuffer = NULL; + // NEVER SET the ALWAYS-SET TextFramebuffer pointer to NULL!! } /* Reset the active framebuffer */