Commit Diff


commit - b993e8cc5032750ca5c8382d60cf1def7057abea
commit + cbb35faca2dd0bef98f640a9a0a87ca48c429454
blob - 11c1fd527fef5bf80e8306b010d4ab0c2feeb3c6
blob + 2f8f6f6dd53d12499d33c43690763d5bfc87401e
--- tog/tog.c
+++ tog/tog.c
@@ -7308,7 +7308,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] = '?';
 			}