diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-03 18:43:09 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-03 18:43:09 +0000 |
commit | b4d5b934dc13c29d4507b7109d318f07891f6d68 (patch) | |
tree | 324a98524c13d8d60429e6e027dd49d1b8de6c66 /games/xdeblock/files/patch-gamemain.c | |
parent | Unbreak on -CURRENT by anticipating a change in the upstream tree. (diff) |
- Fix build on -current
PR: 58875
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=92983
Diffstat (limited to '')
-rw-r--r-- | games/xdeblock/files/patch-gamemain.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/games/xdeblock/files/patch-gamemain.c b/games/xdeblock/files/patch-gamemain.c new file mode 100644 index 000000000000..9c2137f7f662 --- /dev/null +++ b/games/xdeblock/files/patch-gamemain.c @@ -0,0 +1,40 @@ +--- gamemain.c.orig Sat Nov 16 14:37:16 1996 ++++ gamemain.c Mon Nov 3 15:30:25 2003 +@@ -793,14 +793,13 @@ + void openingString(void) + { + XRectangle tempRect; +- register tempNum,maps,i,x; ++ register tempNum,_maps,i,x; + struct timeval time; + char text[32]; +- + +- maps = nowDataRec.nowMap.mapNum; ++ _maps = nowDataRec.nowMap.mapNum; + +- if(nowMapFile->stageData[maps].minTime == 0) ++ if(nowMapFile->stageData[_maps].minTime == 0) + { + /** not yet clear map **/ + drawShadowText(display,mWin,120,300, +@@ -812,15 +811,15 @@ + + x = 120; + drawShadowText(display,mWin,x,300, +- nowMapFile->stageData[maps].minTimeName,white.pixel); ++ nowMapFile->stageData[_maps].minTimeName,white.pixel); + +- x += XTextWidth(xfont,nowMapFile->stageData[maps].minTimeName, +- strlen(nowMapFile->stageData[maps].minTimeName)); ++ x += XTextWidth(xfont,nowMapFile->stageData[_maps].minTimeName, ++ strlen(nowMapFile->stageData[_maps].minTimeName)); + drawShadowText(display,mWin,x,300, + " has the fastest time.",white.pixel); + + +- long2time(nowMapFile->stageData[maps].minTime,&time); ++ long2time(nowMapFile->stageData[_maps].minTime,&time); + + x = 250; + sprintf(text,"%d",time.tv_sec); |