aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2011-07-15 13:57:49 +0800
committerChenthill Palanisamy <pchenthill@novell.com>2011-07-15 15:33:26 +0800
commit44e007e171208094f5d763f5826064fc71071b51 (patch)
treea5a13a0d26326f5517c214c2530c0028f725233a /modules/calendar
parent8c2d09db62c0f9a2c8b168bcd8d827c05d4452ae (diff)
downloadgsoc2013-evolution-44e007e171208094f5d763f5826064fc71071b51.tar
gsoc2013-evolution-44e007e171208094f5d763f5826064fc71071b51.tar.gz
gsoc2013-evolution-44e007e171208094f5d763f5826064fc71071b51.tar.bz2
gsoc2013-evolution-44e007e171208094f5d763f5826064fc71071b51.tar.lz
gsoc2013-evolution-44e007e171208094f5d763f5826064fc71071b51.tar.xz
gsoc2013-evolution-44e007e171208094f5d763f5826064fc71071b51.tar.zst
gsoc2013-evolution-44e007e171208094f5d763f5826064fc71071b51.zip
Make "open_calendar" function as expected.
Diffstat (limited to 'modules/calendar')
-rw-r--r--modules/calendar/e-cal-shell-backend.c4
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)