aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.c
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2019-06-21 10:05:42 +0200
committerGitHub <noreply@github.com>2019-06-21 10:05:42 +0200
commitb0f0b1b4718758dc2960716fa7ecac09ed35a0c1 (patch)
tree1a9884e1687ecb5ead4eba025538edecf98ba5e8 /gfx.c
parent2b3b9dc4649727851004b8223b6af38b57c0c790 (diff)
parentaaeb189cb2e7eb6eb95188c707791be71067e802 (diff)
downloadoldrunner-b0f0b1b4718758dc2960716fa7ecac09ed35a0c1.tar.gz
Merge pull request #1 from polettix/patch-1
Remove segfault
Diffstat (limited to 'gfx.c')
-rw-r--r--gfx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gfx.c b/gfx.c
index 45c9522..79821d7 100644
--- a/gfx.c
+++ b/gfx.c
@@ -1,4 +1,6 @@
/* $Id: gfx.c,v 1.2 2012/01/31 14:53:07 culot Exp $ */
+/* vim: et ai sts=2 ts=2 sw=2:
+ * */
/*
* Copyright (c) 2010 Frederic Culot <frederic@culot.org>
@@ -125,7 +127,7 @@ static void
newpopup (struct window *pop)
{
const int BORDERWIDTH = 2;
-
+
pop->siz.w = scr.view.siz.w - 2 * BORDERWIDTH;
pop->siz.h = scr.view.siz.h - 2 * BORDERWIDTH;
pop->pos.y = scr.view.pos.y + BORDERWIDTH;
@@ -298,7 +300,7 @@ void
gfx_game_over (void)
{
const char *rip =
- " +-+ \n"
+ " +-+ \n"
" +-+-+-+ \n"
" +-+-+-+ \n"
" | | \n"
Un proyecto texto-plano.xyz