Ignore:
Timestamp:
01/17/2008 08:45:18 PM (4 years ago)
Author:
guyru
Message:

portable version fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/openyahtzee-1.8/src/SettingsDB.cpp

    r17 r144  
    2828{ 
    2929        /* Open the database which holds the settings. */ 
     30#ifdef PORTABLE 
     31        m_path = ""; 
     32#else 
    3033        m_path = ((wxFileName::GetHomeDir()).mb_str()); 
    31         m_path += "/"; //IMPORTANT! only works under linux/unix/*nix 
     34        m_path += "/"; 
     35#endif 
    3236        m_path += DBFILENAME; 
    3337 
Note: See TracChangeset for help on using the changeset viewer.