X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a994742ab93d8cf6033f19dd7370553efb64a0f..4fcd60c72f6b90f5063f7000ff5a80a9004055a3:/samples/console/console.cpp diff --git a/samples/console/console.cpp b/samples/console/console.cpp index 8a75d830ab..f7f43fc2ea 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -54,11 +54,11 @@ //#define TEST_FILENAME //#define TEST_FTP //#define TEST_HASH -//#define TEST_INFO_FUNCTIONS +#define TEST_INFO_FUNCTIONS //#define TEST_LIST //#define TEST_LOCALE //#define TEST_LOG -#define TEST_LONGLONG +//#define TEST_LONGLONG //#define TEST_MIME //#define TEST_PATHLIST //#define TEST_REGCONF @@ -1366,7 +1366,7 @@ static void TestMimeAssociate() static void TestDiskInfo() { - puts("*** Testing wxGetDiskSpace() ***\n"); + puts("*** Testing wxGetDiskSpace() ***"); for ( ;; ) { @@ -1385,9 +1385,9 @@ static void TestDiskInfo() } else { - wxPrintf(_T("%s total bytes, %s free bytes on '%s'.\n"), - total.ToString().c_str(), - free.ToString().c_str(), + wxPrintf(_T("%sKb total, %sKb free on '%s'.\n"), + (total / 1024).ToString().c_str(), + (free / 1024).ToString().c_str(), pathname); } }