Index: util.h
===================================================================
--- util.h	(revision 101)
+++ util.h	(revision 102)
@@ -144,6 +144,7 @@
 #ifdef __WXMSW__
 string MyGetSpecialFolderPath(int nFolder, bool fCreate);
 #endif
+string GetDefaultDataDir();
 string GetDataDir();
 void ShrinkDebugFile();
 uint64 GetRand(uint64 nMax);
Index: serialize.h
===================================================================
--- serialize.h	(revision 101)
+++ serialize.h	(revision 102)
@@ -19,8 +19,8 @@
 class CDataStream;
 class CAutoFile;
 
-static const int VERSION = 300;
-static const char* pszSubVer = ".2";
+static const int VERSION = 301;
+static const char* pszSubVer = ".0";
 
 
 
Index: init.cpp
===================================================================
--- init.cpp	(revision 101)
+++ init.cpp	(revision 102)
@@ -4,11 +4,9 @@
 
 #include "headers.h"
 
-extern string GetDefaultDataDir(); /// todo: delete this later, just used by debug test
 
 
 
-
 void ExitTimeout(void* parg)
 {
 #ifdef __WXMSW__
@@ -430,16 +428,8 @@
     printf("Bitcoin version %d.%d.%d%s beta, OS version %s\n", VERSION/10000, (VERSION/100)%100, VERSION%100, pszSubVer, ((string)wxGetOsDescription()).c_str());
     printf("System default language is %d %s\n", m_locale.GetSystemLanguage(), ((string)m_locale.GetSysName()).c_str());
     printf("Language file %s (%s)\n", (string("locale/") + (string)m_locale.GetCanonicalName() + "/LC_MESSAGES/bitcoin.mo").c_str(), ((string)m_locale.GetLocale()).c_str());
+    printf("Default data directory %s\n", GetDefaultDataDir().c_str());
 
-        /// debug - for now, just watching if these match
-        if (pszSetDataDir[0] == 0)
-        {
-            if (GetDefaultDataDir() != GetDataDir())
-                printf("**** GetDefaultDataDir() %s != %s\n", GetDefaultDataDir().c_str(), GetDataDir().c_str());
-            else
-                printf("OK GetDefaultDataDir() %s == %s\n", GetDefaultDataDir().c_str(), GetDataDir().c_str());
-        }
-
     if (mapArgs.count("-loadblockindextest"))
     {
         CTxDB txdb("r");
Index: util.cpp
===================================================================
--- util.cpp	(revision 101)
+++ util.cpp	(revision 102)
@@ -604,7 +604,8 @@
         static char pszCachedDir[MAX_PATH];
         if (pszCachedDir[0] == 0)
         {
-            strlcpy(pszCachedDir, wxStandardPaths::Get().GetUserDataDir().c_str(), sizeof(pszCachedDir));
+            //strlcpy(pszCachedDir, wxStandardPaths::Get().GetUserDataDir().c_str(), sizeof(pszCachedDir));
+            strlcpy(pszCachedDir, GetDefaultDataDir().c_str(), sizeof(pszCachedDir));
             _mkdir(pszCachedDir);
         }
         strlcpy(pszDir, pszCachedDir, MAX_PATH);
