aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-selection-dialog.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-08-04 08:15:32 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-08-04 08:15:32 +0800
commit8a1a8bade0e3b55ef36bda8206eec31a24f40f7b (patch)
tree07f6cf2620206d984586641c4df06509d9a01ac4 /shell/e-shell-folder-selection-dialog.c
parentc263dfffeb657f822c44eb709cf3b3d187584ce2 (diff)
downloadgsoc2013-evolution-8a1a8bade0e3b55ef36bda8206eec31a24f40f7b.tar
gsoc2013-evolution-8a1a8bade0e3b55ef36bda8206eec31a24f40f7b.tar.gz
gsoc2013-evolution-8a1a8bade0e3b55ef36bda8206eec31a24f40f7b.tar.bz2
gsoc2013-evolution-8a1a8bade0e3b55ef36bda8206eec31a24f40f7b.tar.lz
gsoc2013-evolution-8a1a8bade0e3b55ef36bda8206eec31a24f40f7b.tar.xz
gsoc2013-evolution-8a1a8bade0e3b55ef36bda8206eec31a24f40f7b.tar.zst
gsoc2013-evolution-8a1a8bade0e3b55ef36bda8206eec31a24f40f7b.zip
Make sure default_uri isn't NULL!!
2000-08-03 Jeffrey Stedfast <fejj@helixcode.com> * e-shell-folder-selection-dialog.c (set_default_folder): Make sure default_uri isn't NULL!! svn path=/trunk/; revision=4520
Diffstat (limited to 'shell/e-shell-folder-selection-dialog.c')
-rw-r--r--shell/e-shell-folder-selection-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-folder-selection-dialog.c b/shell/e-shell-folder-selection-dialog.c
index 60aa36d9bd..3bf60d28e4 100644
--- a/shell/e-shell-folder-selection-dialog.c
+++ b/shell/e-shell-folder-selection-dialog.c
@@ -219,7 +219,7 @@ set_default_folder (EShellFolderSelectionDialog *shell_folder_selection_dialog,
priv = shell_folder_selection_dialog->priv;
- if (strncmp (default_uri, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) == 0) {
+ if (default_uri && strncmp (default_uri, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) == 0) {
/* `evolution:' URI. */
default_path = g_strdup (default_uri + E_SHELL_URI_PREFIX_LEN);
} else {