Commit Diff


commit - d7d615b695cb3ad78d12a6c91aceadd246ca811a
commit + c62d44e73cce01c980cbf186d5872b9be259028a
blob - 358a1fdc5e00738c6e5e68459f2d9e7cf23e1404
blob + a411c9ed187b845c6ae5b24e656b8f43e9515a72
--- tog/tog.c
+++ tog/tog.c
@@ -981,11 +981,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);