(update_overlay_arrows): Fix handling of up_to_date < 0.
authorKim F. Storm <storm@cua.dk>
Fri, 16 Apr 2004 20:11:47 +0000 (20:11 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 16 Apr 2004 20:11:47 +0000 (20:11 +0000)
src/ChangeLog
src/xdisp.c

index 5364408..202108a 100644 (file)
@@ -1,5 +1,7 @@
 2004-04-17  Kim F. Storm  <storm@cua.dk>
 
+       * xdisp.c (update_overlay_arrows): Fix handling of up_to_date < 0.
+
        * image.c (PNG_BG_COLOR_SHIFT): Remove.
        (png_load): Fix calculation of transparent background color on X
        and W32 platforms.
index 2cd1d54..a6065b5 100644 (file)
@@ -9428,7 +9428,7 @@ update_overlay_arrows (up_to_date)
       if (!SYMBOLP (var))
        continue;
 
-      if (up_to_date)
+      if (up_to_date > 0)
        {
          Lisp_Object val = find_symbol_value (var);
          Fput (var, Qlast_arrow_position,