diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2011-07-15 13:57:49 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:37 +0800 |
commit | 3a16adcc61029291742bddb1c84ac053fad79885 (patch) | |
tree | 0964c71747b234f3212b07c7688fa2350976d01b /modules/calendar/e-cal-shell-backend.c | |
parent | 6cac45838b177359ec3c3c5240d3b6b31e73c772 (diff) | |
download | gsoc2013-evolution-3a16adcc61029291742bddb1c84ac053fad79885.tar.gz gsoc2013-evolution-3a16adcc61029291742bddb1c84ac053fad79885.tar.zst gsoc2013-evolution-3a16adcc61029291742bddb1c84ac053fad79885.zip |
Make "open_calendar" function as expected.
Diffstat (limited to 'modules/calendar/e-cal-shell-backend.c')
-rw-r--r-- | modules/calendar/e-cal-shell-backend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c index 4b2692e420..744cd60b18 100644 --- a/modules/calendar/e-cal-shell-backend.c +++ b/modules/calendar/e-cal-shell-backend.c @@ -536,7 +536,7 @@ cal_shell_backend_handle_uri_cb (EShellBackend *shell_backend, header = (gchar *) cp; header[header_len] = '\0'; - cp += header_len + 1; + cp += header_len + 2; content_len = strcspn (cp, "&"); @@ -557,7 +557,7 @@ cal_shell_backend_handle_uri_cb (EShellBackend *shell_backend, comp_rid = g_strdup (content); g_free (content); - cp += content_len; + cp += content_len + 1; if (*cp == '&') { cp++; if (strcmp (cp, "amp;") == 0) |