From 9475670f13d4424e23514bbe554c6b03bcecba79 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 8 Jun 2002 18:30:27 +0000 Subject: [PATCH] typo in dir enum test code fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/console/console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/console/console.cpp b/samples/console/console.cpp index a06dcab4bf..c1e61a1bda 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -91,7 +91,7 @@ #undef TEST_ALL static const bool TEST_ALL = TRUE; #else - #define TEST_THREADS + #define TEST_MIME static const bool TEST_ALL = FALSE; #endif @@ -308,7 +308,7 @@ static void TestDirEnum() puts("*** Testing wxDir::GetFirst/GetNext ***"); wxString cwd = wxGetCwd(); - if ( wxDir::Exists(cwd) ) + if ( !wxDir::Exists(cwd) ) { printf("ERROR: current directory '%s' doesn't exist?\n", cwd.c_str()); return; -- 2.45.2