Index: gnokii-0.6.28/common/vcal.c =================================================================== --- gnokii-0.6.28.orig/common/vcal.c +++ gnokii-0.6.28/common/vcal.c @@ -621,7 +621,7 @@ static int gn_ical2todo_real(icalcompone /* summary goes into text */ /* TODO: UTF8 --> ascii */ - snprintf(ctodo->text, GN_CALNOTE_MAX_LENGTH-1, "%s", icalcomponent_get_summary(compresult)); + snprintf(ctodo->text, GN_TODO_MAX_LENGTH-1, "%s", icalcomponent_get_summary(compresult)); /* priority */ ctodo->priority = icalproperty_get_priority((const icalproperty *)priority);