[gnome-commander] GnomeCmdSmbPath: fix for bug introduced in commit e1a189a95f54a22e87d168fffa04a010197f5fa3



commit 7c8a8871524195208b8da8e5e4d7426216cdb9ce
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Tue Jun 21 19:09:54 2011 +0200

    GnomeCmdSmbPath: fix for bug introduced in commit e1a189a95f54a22e87d168fffa04a010197f5fa3

 src/gnome-cmd-smb-path.cc |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/gnome-cmd-smb-path.cc b/src/gnome-cmd-smb-path.cc
index 642cb14..a0c38a2 100644
--- a/src/gnome-cmd-smb-path.cc
+++ b/src/gnome-cmd-smb-path.cc
@@ -37,16 +37,16 @@ inline void GnomeCmdSmbPath::set_resources(const gchar *workgroup, const gchar *
         if (resource)
         {
             this->resource = g_strdup (resource);
-            this->resource_path = g_strdup (resource_path);
-            path = g_strconcat (G_DIR_SEPARATOR_S, resource, resource_path, NULL);
+            this->resource_path = g_strdup (path);
+            this->path = g_strconcat (G_DIR_SEPARATOR_S, resource, path, NULL);
         }
         else
-            path = g_strconcat (G_DIR_SEPARATOR_S, workgroup, NULL);
+            this->path = g_strconcat (G_DIR_SEPARATOR_S, workgroup, NULL);
     }
     else
-        path = g_strdup (G_DIR_SEPARATOR_S);
+        this->path = g_strdup (G_DIR_SEPARATOR_S);
 
-    display_path = unix_to_unc (path);
+    display_path = unix_to_unc (this->path);
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]