# HG changeset patch # User Gerd Moellmann # Date 938289472 0 # Node ID 190a99688b531afda2ea2e3c8f23f031271bb0f4 # Parent 2d53a03a3baa0874ac7ccdc708178857849fdbab (lookup_image): Set image's timestamp because it's used when we look it up. diff -r 2d53a03a3baa -r 190a99688b53 src/xfns.c --- a/src/xfns.c Sat Sep 25 19:57:50 1999 +0000 +++ b/src/xfns.c Sat Sep 25 19:57:52 1999 +0000 @@ -6046,6 +6046,7 @@ int i; unsigned hash; struct gcpro gcpro1; + EMACS_TIME now; /* F must be a window-system frame, and SPEC must be a valid image specification. */ @@ -6122,6 +6123,10 @@ } } + /* We're using IMG, so set its timestamp to `now'. */ + EMACS_GET_TIME (now); + img->timestamp = EMACS_SECS (now); + UNGCPRO; /* Value is the image id. */