]> granicus.if.org Git - php/commitdiff
don't resize window on windows anymore, not required
authorkrakjoe <joe.watkins@live.co.uk>
Mon, 18 Nov 2013 13:29:08 +0000 (13:29 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Mon, 18 Nov 2013 13:29:08 +0000 (13:29 +0000)
phpdbg.c

index e54290616e9c4af0297f245810783ba7cb150356..65c5dfd78f2344b7ce2c608d5000b00933ee9b80 100644 (file)
--- 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 {