Commit Diff


commit - ba91039c1a0a3d55f4850e26c24730cbf4b5c239
commit + eef262f386912f13169c1d74b77732bce4524cfd
blob - 50c38cd6d28d539dcfa273bc3233bbda7f02fe7a
blob + f94aa18a4e4ab0a9b2df4a58ff12917a90b189c3
--- tog/tog.c
+++ tog/tog.c
@@ -7304,7 +7304,7 @@ draw_tree_entries(struct tog_view *view, const char *p
 				free(id_str);
 				return err;
 			}
-			for (i = 0; i < link_target[i] != '\0'; i++) {
+			for (i = 0; link_target[i] != '\0'; i++) {
 				if (!isprint((unsigned char)link_target[i]))
 					link_target[i] = '?';
 			}