commit - 0833f15d556826069c6c7d958ccc0fa3eeaff911
commit + 2c438a0a96c82bfad434b8a908bd108b04897523
blob - 9c6e3dbb031480e2b67e991cb75ca588551326ca
blob + 403102f0bc7372941bf6b2598750ebab185845d4
--- tog/tog.c
+++ tog/tog.c
a->selected_entry, *a->first_displayed_entry,
a->commits, *a->selected, a->view->nlines,
a->in_repo_path, a->commits_needed);
-#if 0 /* XXX ncurses isn't thread-safe */
- if (!err) {
- update_panels();
- doupdate();
- }
-#endif
+
if (done)
a->commits_needed = 0;
else if (a->commits_needed == 0) {
err = draw_blame(a->view, a->commit_id, a->f, a->path,
a->lines, a->nlines, 0, *a->selected_line, a->first_displayed_line,
a->last_displayed_line, a->eof, a->view->nlines);
-#if 0 /* XXX ncurses isn't thread-safe */
- if (!err) {
- update_panels();
- doupdate();
- }
-#endif
done:
errcode = pthread_mutex_unlock(&tog_mutex);
if (errcode)
a->lines, a->nlines, 1, *a->selected_line,
a->first_displayed_line, a->last_displayed_line, a->eof,
a->view->nlines);
-#if 0 /* XXX ncurses isn't thread-safe */
- if (!err) {
- update_panels();
- doupdate();
- }
-#endif
}
errcode = pthread_mutex_unlock(&tog_mutex);