mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 03:51:18 +00:00
Merge pull request #287 from jdolan/master
Use g_get_user_special_dir rather than hard-coded "My Documents"
This commit is contained in:
commit
0f75c22b0d
1 changed files with 2 additions and 2 deletions
|
@ -1322,8 +1322,8 @@ void CGameDialog::Init(){
|
|||
g_qeglobals.m_strHomeGame += m_pCurrentGameDescription->mUserPathPrefix.GetBuffer();
|
||||
g_qeglobals.m_strHomeGame += "/";
|
||||
#elif defined ( _WIN32 )
|
||||
g_qeglobals.m_strHomeGame = g_get_home_dir();
|
||||
g_qeglobals.m_strHomeGame += "\\My Documents\\My Games\\";
|
||||
g_qeglobals.m_strHomeGame = g_get_user_special_dir( G_USER_DIRECTORY_DOCUMENTS );
|
||||
g_qeglobals.m_strHomeGame += "\\My Games\\";
|
||||
g_qeglobals.m_strHomeGame += m_pCurrentGameDescription->mUserPathPrefix.GetBuffer();
|
||||
g_qeglobals.m_strHomeGame += "\\";
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue