[Xfce4-commits] <xfce4-screenshooter:master> Fix warning when an invalid directory is given.

Jérôme Guelfucci noreply at xfce.org
Fri Oct 30 23:34:01 CET 2009


Updating branch refs/heads/master
         to ddb1b3c9d7038cd2d138a7c23e1c7495c567f59a (commit)
       from 3c690f700fc40d2376612c0b5caf59a6e29be42d (commit)

commit ddb1b3c9d7038cd2d138a7c23e1c7495c567f59a
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Fri Oct 30 23:32:15 2009 +0100

    Fix warning when an invalid directory is given.

 src/main.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/main.c b/src/main.c
index 558bda7..fa1a5f8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -273,9 +273,8 @@ int main (int argc, char **argv)
               sd->screenshot_dir = g_file_get_uri (default_save_dir);
             }
           else
-              screenshooter_error ("%s",
-                                   _("%s is not a valid directory, the default"
-                                     " directory will be used."),
+              screenshooter_error (_("%s is not a valid directory, the default"
+                                   " directory will be used."),
                                    screenshot_dir);
 
           g_object_unref (default_save_dir);



More information about the Xfce4-commits mailing list