From 7f40246b8f72e4672c33830046ad0b7a4a16fed0 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 18 Nov 2002 23:12:20 +0000 Subject: Make games/groundhog building with gcc321 again. --- games/groundhog/files/patch-src-highscore.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'games/groundhog') diff --git a/games/groundhog/files/patch-src-highscore.cc b/games/groundhog/files/patch-src-highscore.cc index 334843c380c6..c6f9eb10531e 100644 --- a/games/groundhog/files/patch-src-highscore.cc +++ b/games/groundhog/files/patch-src-highscore.cc @@ -1,13 +1,11 @@ --- src/highscore.cc/old Sat May 4 23:43:58 2002 +++ src/highscore.cc Thu May 23 14:10:49 2002 -@@ -26,6 +26,10 @@ +@@ -26,6 +26,8 @@ std::string filename = getenv("HOME"); filename += "/.groundhog.highscore"; std::ifstream in(filename.c_str()); -+ if (in==NULL) { -+ cout << "Couldn't open highscore file (this is normal the first time the game is ran).\n"; ++ if (in==NULL) + return; -+ } in >> _beginner >> _intermediate >> _expert; } -- cgit v1.2.3