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/HighScoreTableDB.cpp

    r73 r144  
    3030{ 
    3131        /* Open the database which holds the settings. */ 
     32#ifdef PORTABLE 
     33        m_path = ""; 
     34#else 
    3235        m_path = ((wxFileName::GetHomeDir()).mb_str()); 
    33         m_path += "/"; //IMPORTANT! only works under linux/unix/*nix 
     36        m_path += "/"; 
     37#endif 
    3438        m_path += DBFILENAME; 
    3539 
Note: See TracChangeset for help on using the changeset viewer.