M    coders/caption.c
M    coders/label.c

diff --git a/coders/label.c b/coders/label.c
index f077956..c4f6860 100644
--- a/coders/label.c
+++ b/coders/label.c
@@ -171,7 +171,7 @@
         else
           high=draw_info->pointsize-1.0;
       }
-      for (draw_info->pointsize=(low+high)/2.0; ; )
+      for (draw_info->pointsize=(low+high)/2.0; (high-low) > 1.0; )
       {
         (void) FormatLocaleString(geometry,MaxTextExtent,"%+g%+g",
           -metrics.bounds.x1,metrics.ascent);