From b173d788b35fb4cfcffdf657e39281988630861c Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Sat, 24 May 2014 03:03:07 -0400 Subject: [PATCH] code formatting: indentation, arg name --- file.c | 4 ++-- todo | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/file.c b/file.c index 5ce183f..efd08e5 100644 --- a/file.c +++ b/file.c @@ -98,10 +98,10 @@ is_dir(char *dirname) } static bool -is_file(char *dirname) +is_file(char *filename) { struct stat buf; - if(stat(dirname, &buf)) { + if(stat(filename, &buf)) { return false; } return S_ISREG(buf.st_mode); diff --git a/todo b/todo index b43d2cd..fe260aa 100644 --- a/todo +++ b/todo @@ -1,11 +1,11 @@ *** Move game logic into a script so we can have "variations". * Then an in-game menu to choose which game: - Rock Dodger - Free-form/Practice - Crazy Taxi + Rock Dodger + Free-form/Practice + Crazy Taxi * Add networking for multiplayer games: - Tag - Deathmatch + Tag + Deathmatch ** Switch all ray-traced graphics (only big green messages left) * Then we can run at the native screen size -- 1.7.10.4