openbsd-ports/games/xinvaders/patches/patch-score_c

22 lines
576 B
Plaintext
Raw Normal View History

2007-10-26 17:19:16 -04:00
$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
1998-09-25 18:49:19 -04:00
#define HILABEL (SCOREPOS+20)
#define HIPOS (HILABEL+15)
-PaintScore()
+void PaintScore()
{
char scorestring[8];
XDrawImageString(dpy, labelwindow, scoregc, 0, SCORELABEL, "Score", 5);
2007-10-26 17:19:16 -04:00
@@ -39,7 +39,7 @@ PaintScore()
1998-09-25 18:49:19 -04:00
XDrawImageString(dpy, labelwindow, scoregc, 0, HIPOS, scorestring, 7);
}
-InitScore()
+void InitScore()
{
score = 0;
if (hiscore == 0) hiscore = -1;