From ddbc70ec8e1fe30899458fa2c833a1e66fc9b14d Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 29 Apr 2008 21:29:28 +0000 Subject: Backport fix for stripcolour not stripping colour codes, reported by jackmcbarn - thanks. Also make rebasing neater, output to current console/output window of visual studio, not a new console git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9592 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/configure.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'win/configure.cpp') diff --git a/win/configure.cpp b/win/configure.cpp index a6dab1ffd..40a5ea0d2 100644 --- a/win/configure.cpp +++ b/win/configure.cpp @@ -146,13 +146,7 @@ int __stdcall WinMain(IN HINSTANCE hInstance, IN HINSTANCE hPrevInstance, IN LPS { if (!strcmp(lpCmdLine, "/rebase")) { - AllocConsole(); - // pipe standard handles to this console - freopen("CONIN$", "r", stdin); - freopen("CONOUT$", "w", stdout); - freopen("CONOUT$", "w", stderr); Rebase(); - FreeConsole(); return 0; } FILE * j = fopen("inspircd_config.h", "r"); -- cgit v1.2.3