Mercurial > geeqie
diff src/info.c @ 15:3263965d5f9e
##### Note: GQview CVS on sourceforge is not always up to date, please use #####
##### an offical release when making enhancements and translation updates. #####
Thu Mar 3 14:24:58 2005 John Ellis <johne@verizon.net>
* filelist.c, info.c, preferences.c, utilops.c: Use doubles instead of
floats whenever possible.
* ui_utildlg.c (generic_dialog_add_message): Enable line wrap for
message body so specifying newlines is no longer needed.
* pan-view.c: Display info dialog when thumbnail caching settings are
not optimal.
| author | gqview |
|---|---|
| date | Thu, 03 Mar 2005 19:32:48 +0000 |
| parents | d907d608745f |
| children | 17acca639a86 |
line wrap: on
line diff
--- a/src/info.c Thu Mar 03 06:32:53 2005 +0000 +++ b/src/info.c Thu Mar 03 19:32:48 2005 +0000 @@ -232,7 +232,7 @@ if (!tab->compression_done && mem_size > 0) { - buf = g_strdup_printf("%.1f%%", (float)tab->byte_size / mem_size * 100.0); + buf = g_strdup_printf("%.1f%%", (double)tab->byte_size / mem_size * 100.0); gtk_label_set_text(GTK_LABEL(tab->label_compression), buf); g_free(buf);
