From 8cf6bc238b7488446d98ffade9fe23700d327bf7 Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Fri, 28 Mar 2003 18:10:36 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1110 --- api/boinc_api.C | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/boinc_api.C b/api/boinc_api.C index df2abb8b23..8a68158579 100644 --- a/api/boinc_api.C +++ b/api/boinc_api.C @@ -129,8 +129,7 @@ int boinc_init() { gi.refresh_period = 0.5; gi.xsize = 640; gi.ysize = 480; - } - if (f) { + } else { retval = parse_graphics_file(f, &gi); if (retval) { fprintf(stderr, "boinc_init(): can't parse graphics data file\n");