From 32c7a6682d2652523cd073a0de495a7bae820ad5 Mon Sep 17 00:00:00 2001 From: Albert Cahalan Date: Mon, 16 Nov 2009 09:52:33 +0000 Subject: [PATCH] lockfile into own function --- src/tuxpaint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index a24b9e4db..008463a89 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -19312,6 +19312,7 @@ static void setup_colors(void){ static void do_lock_file(void) { + FILE *fi; /* Test for lockfile, if we're using one: */ if (!ok_to_use_lockfile) @@ -19399,7 +19400,6 @@ static void setup(void) char *upstr; SDL_Color black = { 0, 0, 0, 0 }; char *homedirdir; - FILE *fi; SDL_Surface *tmp_surf; SDL_Rect dest; int scale;