diff options
author | Milan Crha <mcrha@redhat.com> | 2011-12-15 18:31:56 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-12-15 18:31:56 +0800 |
commit | 09b17320afb38fc5550f28200935df242c29bf07 (patch) | |
tree | c446a14b066d31dd1b883d3cda5c6ff97d8b6ee2 /modules/calendar | |
parent | c01655aa3ffed339cf485d162b24fad88b116b30 (diff) | |
download | gsoc2013-evolution-09b17320afb38fc5550f28200935df242c29bf07.tar gsoc2013-evolution-09b17320afb38fc5550f28200935df242c29bf07.tar.gz gsoc2013-evolution-09b17320afb38fc5550f28200935df242c29bf07.tar.bz2 gsoc2013-evolution-09b17320afb38fc5550f28200935df242c29bf07.tar.lz gsoc2013-evolution-09b17320afb38fc5550f28200935df242c29bf07.tar.xz gsoc2013-evolution-09b17320afb38fc5550f28200935df242c29bf07.tar.zst gsoc2013-evolution-09b17320afb38fc5550f28200935df242c29bf07.zip |
Bug #561696 - Invitation's "Open Calendar" button jumps to current day
Diffstat (limited to 'modules/calendar')
-rw-r--r-- | modules/calendar/e-cal-shell-backend.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c index 6541863b32..399a5ea80c 100644 --- a/modules/calendar/e-cal-shell-backend.c +++ b/modules/calendar/e-cal-shell-backend.c @@ -558,7 +558,7 @@ cal_shell_backend_handle_uri_cb (EShellBackend *shell_backend, header = (gchar *) cp; header[header_len] = '\0'; - cp += header_len + 2; + cp += header_len + 1; content_len = strcspn (cp, "&"); @@ -579,10 +579,10 @@ cal_shell_backend_handle_uri_cb (EShellBackend *shell_backend, comp_rid = g_strdup (content); g_free (content); - cp += content_len + 1; + cp += content_len; if (*cp == '&') { cp++; - if (strcmp (cp, "amp;") == 0) + if (strncmp (cp, "amp;", 4) == 0) cp += 4; } } |