summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-04 06:54:28 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-04 06:54:28 -0300
commitce034adb60b431114abf49b4aceb39e96b48c682 (patch)
tree7ff483188fa188f57d47d1ef832f8fd88fa8f446 /gui
parent330acc7d5bb0a6afbf20842d186080c21a532816 (diff)
downloadeeshow-ce034adb60b431114abf49b4aceb39e96b48c682.tar.gz
eeshow-ce034adb60b431114abf49b4aceb39e96b48c682.tar.bz2
eeshow-ce034adb60b431114abf49b4aceb39e96b48c682.zip
gui/gui.c (get_history): sch_name should be just "name" for it can be .pro, too
Diffstat (limited to 'gui')
-rw-r--r--gui/gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/gui.c b/gui/gui.c
index 5c96c6c..aa71b1f 100644
--- a/gui/gui.c
+++ b/gui/gui.c
@@ -416,14 +416,14 @@ static void count_history(void *user, struct vcs_hist *h,
}
-static void get_history(struct gui *gui, const char *sch_name, int limit)
+static void get_history(struct gui *gui, const char *name, int limit)
{
- if (!vcs_git_try(sch_name)) {
+ if (!vcs_git_try(name)) {
gui->vcs_history = NULL;
return;
}
- gui->vcs_history = vcs_git_history(sch_name);
+ gui->vcs_history = vcs_git_history(name);
if (limit)
gui->hist_size = limit > 0 ? limit : -limit;
else