diff options
author | edwin <edwin@FreeBSD.org> | 2005-01-22 17:41:03 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-01-22 17:41:03 +0800 |
commit | 103b9a1ad2f48064b69aab336b8240d36461696c (patch) | |
tree | 980ea7e3419d17f8ba4566d2a6ee2e2830be1694 /games/powermanga/files | |
parent | fd0aefff7eeda2edf47cecffee9338bd8373e366 (diff) | |
download | freebsd-ports-gnome-103b9a1ad2f48064b69aab336b8240d36461696c.tar.gz freebsd-ports-gnome-103b9a1ad2f48064b69aab336b8240d36461696c.tar.zst freebsd-ports-gnome-103b9a1ad2f48064b69aab336b8240d36461696c.zip |
Update port: games/powermanga (fix high scores handling)
* Fixes crash on game over
* Fixes high scores saving
PR: ports/76558
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'games/powermanga/files')
-rw-r--r-- | games/powermanga/files/patch-src::score.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/powermanga/files/patch-src::score.cpp b/games/powermanga/files/patch-src::score.cpp new file mode 100644 index 000000000000..b30ad26208c4 --- /dev/null +++ b/games/powermanga/files/patch-src::score.cpp @@ -0,0 +1,11 @@ +--- src/score.cpp.orig Sat Jan 22 01:59:45 2005 ++++ src/score.cpp Sat Jan 22 01:59:56 2005 +@@ -449,7 +449,7 @@ + } + close(_iHandle); + } +- if(_pMemoire) ++ if(_pMemoire && sDescriptionFichier.st_size > 0) + { + char *_pBufferC = _pMemoire; + int *_pBufferL; |