summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index 7ffbd9e..d46649b 100644
--- a/client.c
+++ b/client.c
@@ -360,10 +360,10 @@ static void serverMap(void) {
 		for (int x = 0; x < MAP_COLS; ++x) {
 			struct MapTile tile = map.tiles[y][x];
 
-			double count = (tile.modifyCount)
+			double count = (tile.modifyCount && countMax > 1)
 				? log(tile.modifyCount) / log(countMax)
 				: 0.0;
-			double time = (tile.modifyTime)
+			double time = (tile.modifyTime && timeNow - timeMin)
 				? (double)(tile.modifyTime - timeMin) / (double)(timeNow - timeMin)
 				: 0.0;
 			count *= ARRAY_LEN(MAP_CELLS) - 2;
w=1'>Accommodate lower-case .jpg filesJune McEnroe 2024-06-23Add another BACKXWASH showJune McEnroe It was good! 2024-06-16Update bioJune McEnroe 2024-06-15Add photo descriptions from June 12June McEnroe 2024-06-10Add first roll of film from June 8June McEnroe 2024-06-10Cope with not having an EXIF infoJune McEnroe 2024-06-10Resize using target pixel counts for consistencyJune McEnroe This will resize film scans to about the same size as for the digital photos. 2024-06-10Add The Girl Who Was Convinced...June McEnroe Not much there. The illustrations are very nice though. 2024-06-09Add photos from May 31June McEnroe 2024-06-09Use monospace on photo pagesJune McEnroe 2024-06-09Put lens and (future) film at the tops of photo pagesJune McEnroe 2024-05-22Remove use of sysexits.hJune McEnroe 2024-05-22Add photo descriptions from 05-03 and 05-06June McEnroe 2024-05-21Fix = precedence in whenJune McEnroe