Commit Diff
- Commit:
cbb35faca2dd0bef98f640a9a0a87ca48c429454
- From:
- Tracey Emery <tracey@traceyemery.net>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
- Message:
- Fix for cc1: warnings being treated as errors /home/got/src/got/tog/tog.c: In function 'draw_tree_entries': /home/got/src/got/tog/tog.c:7307: warning: comparisons like X<=3DY<=3DZ do = not have their mathematical meaning
- Actions:
- Patch | Tree
--- 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] = '?'; }