aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-full-day.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gncal-full-day.c')
-rw-r--r--calendar/gncal-full-day.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gncal-full-day.c b/calendar/gncal-full-day.c
index a84e185eb1..6acc8ca16b 100644
--- a/calendar/gncal-full-day.c
+++ b/calendar/gncal-full-day.c
@@ -825,7 +825,7 @@ expand_space (char *array, int *allocations, int val, int lower, int count, int
for (i = 0; i < count; i++){
slot = allocations [val] + 1;
for (j = 0; j < cols; j++)
- xy (array, slot, lower+i) = val;
+ xy (array, slot + j, lower+i) = val;
}
}