Commit Diff


commit - 9729508f8bdf0382b3effd640fae0d3e4b648f69
commit + 88e8b64f39ed07952b8245c2e77070c4f4a1aea3
blob - f541c5ed0435dfb44886c0e9d622d5787fc534fc
blob + e0fcc1a64a5f6169ecb16f98c8a65b82b97bea52
--- tog/tog.c
+++ tog/tog.c
@@ -985,11 +985,10 @@ view_border(struct tog_view *view)
 	view_above = panel_userptr(panel);
 	if (view->mode == TOG_VIEW_SPLIT_HRZN)
 		mvwhline(view->window, view_above->begin_y - 1,
-		    view->begin_x, got_locale_is_utf8() ?
-		    ACS_HLINE : '-', view->ncols);
+		    view->begin_x, ACS_HLINE, view->ncols);
 	else
 		mvwvline(view->window, view->begin_y, view_above->begin_x - 1,
-		    got_locale_is_utf8() ? ACS_VLINE : '|', view->nlines);
+		    ACS_VLINE, view->nlines);
 }
 
 static const struct got_error *view_init_hsplit(struct tog_view *, int);