[gnome-calendar/gnome-3-18] date-selector: fix typo
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gnome-3-18] date-selector: fix typo
- Date: Wed, 23 Dec 2015 06:11:04 +0000 (UTC)
commit 51cddd548370183f3f2540e3241ba8c4f556b42e
Author: Erick Perez Castellanos <erick red gmail com>
Date: Tue Dec 22 23:55:12 2015 -0600
date-selector: fix typo
The parsing of the date mask was never happening because it was always assuming
it was wrong.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=758391
src/gcal-date-selector.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-date-selector.c b/src/gcal-date-selector.c
index f493c39..a2a66bf 100644
--- a/src/gcal-date-selector.c
+++ b/src/gcal-date-selector.c
@@ -244,7 +244,7 @@ gcal_date_selector_init (GcalDateSelector *self)
* corresponding indexes. I should have added more validations here.
*/
max = strlen (priv->mask);
- if (max != 6)
+ if (max != 8)
{
/* I'll assume an error and bail out with the default values */
priv->day_pos = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]