aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2014-06-13 20:27:38 +0800
committerTomas Popela <tpopela@redhat.com>2014-06-13 20:57:25 +0800
commit3928bfba24cc340d2445f2412a0b5646c52755e8 (patch)
tree1b2c8bc08281e3259f3c7bf7360a785914246592
parentf1c7e2d912449c4c6aaf385aa25dd30788000433 (diff)
downloadgsoc2013-evolution-3928bfba24cc340d2445f2412a0b5646c52755e8.tar
gsoc2013-evolution-3928bfba24cc340d2445f2412a0b5646c52755e8.tar.gz
gsoc2013-evolution-3928bfba24cc340d2445f2412a0b5646c52755e8.tar.bz2
gsoc2013-evolution-3928bfba24cc340d2445f2412a0b5646c52755e8.tar.lz
gsoc2013-evolution-3928bfba24cc340d2445f2412a0b5646c52755e8.tar.xz
gsoc2013-evolution-3928bfba24cc340d2445f2412a0b5646c52755e8.tar.zst
gsoc2013-evolution-3928bfba24cc340d2445f2412a0b5646c52755e8.zip
EWebView - Check if the link has fragment
Some links doesn't have the framegment so check for it before accessing it.
-rw-r--r--e-util/e-web-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index 0b83d81a34..5c6a8fbf57 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -1049,7 +1049,7 @@ web_view_hovering_over_link (EWebView *web_view,
goto exit;
fragment = soup_uri_get_fragment (soup_uri);
- if (*fragment)
+ if (fragment && *fragment)
message = g_strdup_printf (_("Go to the section %s of the message"), fragment);
else
message = g_strdup (_("Go to the beginning of the message"));