Mercurial > geeqie
comparison 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 |
comparison
equal
deleted
inserted
replaced
402:f6046e1b3622 | 403:2649a28d31b6 |
---|---|
144 pathl = path_from_utf8(path); | 144 pathl = path_from_utf8(path); |
145 ssi = secure_open(pathl); | 145 ssi = secure_open(pathl); |
146 g_free(pathl); | 146 g_free(pathl); |
147 if (!ssi) | 147 if (!ssi) |
148 { | 148 { |
149 gchar *buf; | 149 printf_term(_("Unable to write history lists to: %s\n"), path); |
150 | |
151 buf = g_strdup_printf(_("Unable to write history lists to: %s\n"), path); | |
152 print_term(buf); | |
153 g_free(buf); | |
154 | |
155 return FALSE; | 150 return FALSE; |
156 } | 151 } |
157 | 152 |
158 secure_fprintf(ssi, "#History lists\n"); | 153 secure_fprintf(ssi, "#History lists\n"); |
159 secure_fprintf(ssi, "\n"); | 154 secure_fprintf(ssi, "\n"); |