diff options
author | Filippo Argiolas <fargiolas@src.gnome.org> | 2009-02-28 20:50:28 +0000 |
---|---|---|
committer | Filippo Argiolas <fargiolas@src.gnome.org> | 2009-02-28 20:50:28 +0000 |
commit | c10787e3c1ba98896fac105405c8991a0f26128b (patch) | |
tree | 5d9f928175cf9b41dd3bd260f03c2810ce4c67d8 | |
parent | f103153091e63996a5a8afe21e59d877b40f592a (diff) | |
download | cheese-c10787e3c1ba98896fac105405c8991a0f26128b.tar.gz |
Print cheese verbose messages even if log dir doesn't exist.
Fixes bug #573573
svn path=/trunk/; revision=1199
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/cheese.c | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2009-02-28 Filippo Argiolas <filippo.argiolas@gmail.com> + + * src/cheese.c: + Print cheese verbose messages even if log dir doesn't exist. + Fixes bug #573573 + 2009-02-16 daniel g. siegel <dgsiegel@gmail.com> * configure.ac, diff --git a/src/cheese.c b/src/cheese.c index 5bd89e45..c8c5156c 100644 --- a/src/cheese.c +++ b/src/cheese.c @@ -48,6 +48,9 @@ cheese_print_handler (char *string) 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 @@ cheese_print_handler (char *string) if (fp) fputs (string, fp); - - if (CheeseOptions.verbose) - fprintf (stdout, "%s", string); } void |