Skip to content

Commit d04bb4a

Browse files
committed
8.17 compat
1 parent ce7ba70 commit d04bb4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/infobar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ infobar_status_update(Infobar *infobar)
248248
vips_buf_rewind(&buf);
249249

250250
double zoom = imagewindow_get_zoom(infobar->win);
251-
vips_buf_appendf(&buf, "Magnification %d%%", (int) VIPS_RINT(zoom * 100));
251+
vips_buf_appendf(&buf, "Magnification %d%%", (int) rint(zoom * 100));
252252
gtk_label_set_text(GTK_LABEL(infobar->mag), vips_buf_all(&buf));
253253

254254
// queue bg update of pixel value (this must be off the GUI thread)

0 commit comments

Comments
 (0)