Commit Diff
- Commit:
eef262f386912f13169c1d74b77732bce4524cfd
- From:
- Tracey Emery <tracey@traceyemery.net>
- 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 @@ -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] = '?'; }