diff options
author | Vladimir LAVALLADE | 2022-09-13 17:29:47 +0200 |
---|---|---|
committer | Vladimir LAVALLADE | 2022-09-13 17:29:47 +0200 |
commit | e34fe256e89ef24100990c0e63cc43a53a3a1ad2 (patch) | |
tree | 75ef79c29d5e44e13d1e2aa2982aac5fb3b0f449 /pinball-0.3.1-hiscore.patch | |
parent | 571ecc60c1398b241c65b4a9086f96e8683f6915 (diff) | |
download | aur-e34fe256e89ef24100990c0e63cc43a53a3a1ad2.tar.gz |
Update to release 0.3.20201218
Diffstat (limited to 'pinball-0.3.1-hiscore.patch')
-rw-r--r-- | pinball-0.3.1-hiscore.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/pinball-0.3.1-hiscore.patch b/pinball-0.3.1-hiscore.patch deleted file mode 100644 index bf4067409779..000000000000 --- a/pinball-0.3.1-hiscore.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- pinball-0.3.1/src/Table.cpp~ 2006-08-03 14:59:16.000000000 +0200 -+++ pinball-0.3.1/src/Table.cpp 2006-08-03 14:59:16.000000000 +0200 -@@ -247,14 +247,9 @@ - // Clear old high scores - m_mapHighScores.clear(); - -- //!rzr+ : fix w32 -- string sFileName = m_sTableName + "/" + HIGH_SCORES_FILENAME; --#ifdef RZR_PATHRELATIVE -- sFileName = string( Config::getInstance()->getExeDir() ) -- +"/"+ m_sTableName +".cfg"; --#else -- sFileName = string(EM_HIGHSCORE_DIR) + "/" + sFileName; --#endif //!rzr- -+ char *home = getenv("HOME"); -+ string sFileName = string(home? home:".") + "/.emilia/" + m_sTableName + -+ ".hiscore"; - - ifstream file(sFileName.c_str()); - if (!file) { -@@ -308,14 +303,10 @@ - cerr << "No current table name! (the first time is normal...)" << endl; - return false; - } -- //!rzr+ : fix w32 -- string sFileName = m_sTableName + "/" + HIGH_SCORES_FILENAME; --#ifdef RZR_PATHRELATIVE -- sFileName = string( Config::getInstance()->getExeDir() ) -- +"/"+ m_sTableName +".cfg"; --#else -- sFileName = string(EM_HIGHSCORE_DIR) + "/" + sFileName; --#endif //!rzr- -+ -+ char *home = getenv("HOME"); -+ string sFileName = string(home? home:".") + "/.emilia/" + m_sTableName + -+ ".hiscore"; - - ofstream file(sFileName.c_str());//, ios_base::out | ios_base::trunc); - if (!file) { |