[gnome-commander] Fixes ambiguous if-else
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Fixes ambiguous if-else
- Date: Fri, 14 Apr 2017 10:14:17 +0000 (UTC)
commit 0a10a03120899bf65f8105733038a4a92696acac
Author: Uwe Scholz <uwescholz src gnome org>
Date: Fri Apr 14 12:12:17 2017 +0200
Fixes ambiguous if-else
src/dialogs/gnome-cmd-mkdir-dialog.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-mkdir-dialog.cc b/src/dialogs/gnome-cmd-mkdir-dialog.cc
index 9106c5d..b415b4d 100644
--- a/src/dialogs/gnome-cmd-mkdir-dialog.cc
+++ b/src/dialogs/gnome-cmd-mkdir-dialog.cc
@@ -36,10 +36,12 @@ inline GSList *make_uri_list (GnomeCmdDir *dir, string filename)
// make an absolute filename from one that is starting with a tilde
if (filename.compare(0, 2, "~/")==0)
+ {
if (gnome_cmd_dir_is_local (dir))
stringify (filename, gnome_vfs_expand_initial_tilde (filename.c_str()));
else
filename.erase(0,1);
+ }
#ifdef HAVE_SAMBA
// smb exception handling: test if we are in a samba share...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]