We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce7ba70 commit d04bb4aCopy full SHA for d04bb4a
src/infobar.c
@@ -248,7 +248,7 @@ infobar_status_update(Infobar *infobar)
248
vips_buf_rewind(&buf);
249
250
double zoom = imagewindow_get_zoom(infobar->win);
251
- vips_buf_appendf(&buf, "Magnification %d%%", (int) VIPS_RINT(zoom * 100));
+ vips_buf_appendf(&buf, "Magnification %d%%", (int) rint(zoom * 100));
252
gtk_label_set_text(GTK_LABEL(infobar->mag), vips_buf_all(&buf));
253
254
// queue bg update of pixel value (this must be off the GUI thread)
0 commit comments