diff options
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index 252b7f3300..5556e585f3 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -531,7 +531,8 @@ impl_Shell_selectUserFolder (PortableServer_Servant servant, title, NULL, default_folder, - allowed_type_names); + allowed_type_names, + TRUE); listener_duplicate = CORBA_Object_duplicate (listener, ev); @@ -2264,7 +2265,7 @@ parse_default_uri (EShell *shell, /* We expect an evolution: URI here, if we don't get it then something is messed up. */ - if (strncmp (path, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) != 0 || is_default) { + if (path == NULL || strncmp (path, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) != 0 || is_default) { g_free (path); if (path_return != NULL) *path_return = NULL; |