cheese r1199 - in trunk: . src



Author: fargiolas
Date: Sat Feb 28 20:50:28 2009
New Revision: 1199
URL: http://svn.gnome.org/viewvc/cheese?rev=1199&view=rev

Log:
Print cheese verbose messages even if log dir doesn't exist.
Fixes bug #573573

Modified:
   trunk/ChangeLog
   trunk/src/cheese.c

Modified: trunk/src/cheese.c
==============================================================================
--- trunk/src/cheese.c	(original)
+++ trunk/src/cheese.c	Sat Feb 28 20:50:28 2009
@@ -48,6 +48,9 @@
 
   CheeseFileUtil *fileutil = cheese_fileutil_new ();
 
+  if (CheeseOptions.verbose)
+    fprintf (stdout, "%s", string);
+
   if (fp == NULL)
   {
     path = cheese_fileutil_get_log_path (fileutil);
@@ -78,9 +81,6 @@
 
   if (fp)
     fputs (string, fp);
-
-  if (CheeseOptions.verbose)
-    fprintf (stdout, "%s", string);
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]