[gnome-calendar] Fixed indexing of month_names array.



commit a3aa2fc66441432bdce1fd573af0eb049a4d2f5d
Author: Erick PÃrez Castellanos <erick red gmail com>
Date:   Wed Nov 21 22:24:26 2012 -0500

    Fixed indexing of month_names array.

 src/gcal-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-utils.c b/src/gcal-utils.c
index dc4c514..34be8e4 100644
--- a/src/gcal-utils.c
+++ b/src/gcal-utils.c
@@ -228,7 +228,7 @@ gcal_get_weekday (gint i)
 gchar*
 gcal_get_month_name (gint i)
 {
-  return nl_langinfo (month_item[i + 1]);
+  return nl_langinfo (month_item[i]);
 }
 
 GdkPixbuf*



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]