diff src/ui_bookmark.c @ 403:2649a28d31b6

Introduce printf_term() macro and use it.
author zas_
date Fri, 18 Apr 2008 09:15:09 +0000
parents d5a3bcc6a694
children 4b2d7f9af171
line wrap: on
line diff
--- a/src/ui_bookmark.c	Thu Apr 17 20:14:49 2008 +0000
+++ b/src/ui_bookmark.c	Fri Apr 18 09:15:09 2008 +0000
@@ -146,12 +146,7 @@
 	g_free(pathl);
 	if (!ssi)
 		{
-		gchar *buf;
-
-		buf = g_strdup_printf(_("Unable to write history lists to: %s\n"), path);
-		print_term(buf);
-		g_free(buf);
-
+		printf_term(_("Unable to write history lists to: %s\n"), path);
 		return FALSE;
 		}