From 8f7064b6a91d3b253e62f303a3793613a55d3631 Mon Sep 17 00:00:00 2001 From: evocallaghan Date: Sat, 13 Jun 2009 15:42:32 +0200 Subject: tiny patch --- AUTHORS | 2 +- uzblctrl.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index bda5412..938bfa2 100644 --- a/AUTHORS +++ b/AUTHORS @@ -27,7 +27,7 @@ Contributors: Abel Camarillo (00z) - make it compile on OpenBSD (israellevin) - toggle_zoom_type (kmeaw) - fix for multibyte utf8 characters segfault - (evocallaghan) - tiny patch + (evocallaghan) - tiny patches Originaly based on http://trac.webkit.org/browser/trunk/WebKitTools/GtkLauncher/main.c Which is copyrighted: diff --git a/uzblctrl.c b/uzblctrl.c index f0fe732..c8644c5 100644 --- a/uzblctrl.c +++ b/uzblctrl.c @@ -31,7 +31,7 @@ static GOptionEntry entries[] = int main(int argc, char* argv[]) { GError *error = NULL; - GOptionContext* context = g_option_context_new ("- utility for controlling and interacting with uzbl through its socket file"); //TODO: get stuff back from uzbl + GOptionContext* context = g_option_context_new ("- utility for controlling and interacting with uzbl through its socket file"); /* TODO: get stuff back from uzbl */ g_option_context_add_main_entries (context, entries, NULL); g_option_context_add_group (context, gtk_get_option_group (TRUE)); g_option_context_parse (context, &argc, &argv, &error); @@ -64,7 +64,7 @@ main(int argc, char* argv[]) { return 0; } else { - puts ("Usage: uzblctrl -s /path/to/socket -c \"command\""); + fprintf(stderr, "Usage: uzblctrl -s /path/to/socket -c \"command\""); return 1; } } -- cgit v1.2.3