mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] 2048: Reset score on startup
Date: Fri, 6 Jun 2014 06:34:30 +0200	[thread overview]
Message-ID: <20140606043430.GN15686@pengutronix.de> (raw)
In-Reply-To: <1401976003-30679-1-git-send-email-shc_work@mail.ru>

On Thu, Jun 05, 2014 at 05:46:43PM +0400, Alexander Shiyan wrote:
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> ---
>  commands/2048.c | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks. I'm considering a stable release for this ;)

Sascha

> 
> diff --git a/commands/2048.c b/commands/2048.c
> index 26c9e6c..5ceb5cf 100644
> --- a/commands/2048.c
> +++ b/commands/2048.c
> @@ -337,6 +337,8 @@ static int do_2048(int argc, char *argv[])
>  		return test();
>  	}
>  
> +	score = 0;
> +
>  	printf("\033[?25l\033[2J\033[H");
>  
>  	memset(board,0,sizeof(board));
> -- 
> 1.8.5.5
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2014-06-06  4:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 13:46 Alexander Shiyan
2014-06-06  4:34 ` Sascha Hauer [this message]
2014-06-06  9:07   ` Alexander Shiyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140606043430.GN15686@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=shc_work@mail.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox