From 9b7b7c4a3976d7c53433bb361a7a2883b38feb69 Mon Sep 17 00:00:00 2001 From: krakjoe Date: Mon, 18 Nov 2013 13:29:08 +0000 Subject: [PATCH] don't resize window on windows anymore, not required --- phpdbg.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/phpdbg.c b/phpdbg.c index e54290616e..65c5dfd78f 100644 --- a/phpdbg.c +++ b/phpdbg.c @@ -428,19 +428,10 @@ int main(int argc, char **argv) /* {{{ */ #endif #ifdef PHP_WIN32 - HWND console; - RECT consoleRect; _fmode = _O_BINARY; /* sets default for file streams to binary */ setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ - - console = GetConsoleWindow(); - if (console) { - GetWindowRect(console, &consoleRect); - MoveWindow( - console, consoleRect.left, consoleRect.top, 800,600, TRUE); - } #endif #ifdef ZTS @@ -607,7 +598,7 @@ phpdbg_main: } zend_end_try(); /* print blurb */ - phpdbg_welcome(cleaning TSRMLS_CC); + phpdbg_welcome((cleaning > 0) TSRMLS_CC); /* initialize from file */ zend_try { -- 2.50.1