openbsd-ports/games/xinvaders/patches/patch-score_c
2007-10-26 21:19:16 +00:00

22 lines
576 B
Plaintext

$OpenBSD: patch-score_c,v 1.1 2007/10/26 21:19:16 ajacoutot Exp $
--- score.c.orig Fri Oct 26 23:05:34 2007
+++ score.c Fri Oct 26 23:05:40 2007
@@ -20,7 +20,7 @@ Wed May 8 1991
#define HILABEL (SCOREPOS+20)
#define HIPOS (HILABEL+15)
-PaintScore()
+void PaintScore()
{
char scorestring[8];
XDrawImageString(dpy, labelwindow, scoregc, 0, SCORELABEL, "Score", 5);
@@ -39,7 +39,7 @@ PaintScore()
XDrawImageString(dpy, labelwindow, scoregc, 0, HIPOS, scorestring, 7);
}
-InitScore()
+void InitScore()
{
score = 0;
if (hiscore == 0) hiscore = -1;