summaryrefslogtreecommitdiff
path: root/apps/plugins/minesweeper.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-03-03 08:14:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-03-03 08:14:44 +0000
commit220fafdd72eab05eb49cf6811d15d6618a168910 (patch)
treec90ef2fe3e9bb932197ac3ff5b305dd39a66204e /apps/plugins/minesweeper.c
parente248eac20fc75566605aee705c130e0fa456aced (diff)
downloadrockbox-220fafdd72eab05eb49cf6811d15d6618a168910.tar.gz
rockbox-220fafdd72eab05eb49cf6811d15d6618a168910.zip
Code Police raid. Mostly changed // comments and indented to Rockbox style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8894 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r--apps/plugins/minesweeper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c
index c855f8a99d..23d6e07157 100644
--- a/apps/plugins/minesweeper.c
+++ b/apps/plugins/minesweeper.c
@@ -33,7 +33,7 @@ use F3 to see how many mines are left (supposing all your flags are correct)
33 33
34PLUGIN_HEADER 34PLUGIN_HEADER
35 35
36//what the minesweeper() function can return 36/*what the minesweeper() function can return */
37#define MINESWEEPER_USB 3 37#define MINESWEEPER_USB 3
38#define MINESWEEPER_QUIT 2 38#define MINESWEEPER_QUIT 2
39#define MINESWEEPER_LOSE 1 39#define MINESWEEPER_LOSE 1
@@ -402,10 +402,10 @@ int minesweeper(void)
402 402
403 while(true){ 403 while(true){
404 404
405 //clear the screen buffer 405 /*clear the screen buffer */
406 rb->lcd_clear_display(); 406 rb->lcd_clear_display();
407 407
408 //display the mine field 408 /*display the mine field */
409 for(i=0;i<height;i++){ 409 for(i=0;i<height;i++){
410 for(j=0;j<width;j++){ 410 for(j=0;j<width;j++){
411#if LCD_DEPTH > 1 411#if LCD_DEPTH > 1