daily update
[deliverable/binutils-gdb.git] / readline / terminal.c
index 21732a791bb419c5271d57b3d5d441d888c40a9f..46b50e77e24a37b303ac9cbd48d0a214ae018184 100644 (file)
@@ -226,8 +226,8 @@ _rl_get_screen_size (tty, ignore_env)
       CONSOLE_SCREEN_BUFFER_INFO scr;
       if (GetConsoleScreenBufferInfo (hConOut, &scr))
        {
-         _rl_screenwidth = scr.dwSize.X;
-         _rl_screenheight = scr.srWindow.Bottom - scr.srWindow.Top + 1;
+         wc = scr.dwSize.X;
+         wr = scr.srWindow.Bottom - scr.srWindow.Top + 1;
        }
     }
 #endif
This page took 0.023799 seconds and 4 git commands to generate.