com php-src: don't resize window on windows anymore, not required: phpdbg.c

From: Date: Mon, 18 Nov 2013 13:29:08 +0000
Subject: com php-src: don't resize window on windows anymore, not required: phpdbg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-74850@lists.php.net to get a copy of this message
Commit: 9b7b7c4a3976d7c53433bb361a7a2883b38feb69 Author: krakjoe <joe.watkins@live.co.uk> Mon, 18 Nov 2013 13:29:08 +0000 Parents: 8588f5cc84b7b69ad7231b2c987e2626a32e59b1 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9b7b7c4a3976d7c53433bb361a7a2883b38feb69 Log: don't resize window on windows anymore, not required Changed paths: M phpdbg.c Diff: diff --git a/phpdbg.c b/phpdbg.c index e542906..65c5dfd 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 {

« previous php.cvs (#74850) next »