[gnome-commander] Remove return of '/' in GetPathStringThroughParent, it can have a parent still
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Remove return of '/' in GetPathStringThroughParent, it can have a parent still
- Date: Thu, 6 Jan 2022 22:27:52 +0000 (UTC)
commit 957124d9b3155c90c4ac2d256372e4a79b0a1ec8
Author: Uwe Scholz <u scholz83 gmx de>
Date: Sun Dec 19 13:19:28 2021 +0100
Remove return of '/' in GetPathStringThroughParent, it can have a parent still
src/gnome-cmd-file.cc | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/gnome-cmd-file.cc b/src/gnome-cmd-file.cc
index 0bd951e4..ddb53574 100644
--- a/src/gnome-cmd-file.cc
+++ b/src/gnome-cmd-file.cc
@@ -475,9 +475,6 @@ gchar *GnomeCmdFile::GetPathStringThroughParent()
if (!filename)
return nullptr;
- if (strcmp (filename, G_DIR_SEPARATOR_S) == 0)
- return g_strdup(filename);
-
GnomeCmdPath *path;
gchar *path_str;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]