src/gtk/bookmarks.c: fix mixed indentation (tabs + spaces)
@@ -260,30 +260,30 @@ copy_bookmarks (gftp_bookmarks_var * bookmarks)
newentry->isfolder = tempentry->isfolder;
newentry->save_password = tempentry->save_password;
newentry->cnode = tempentry->cnode;
- if (tempentry->path)
+ if (tempentry->path) {
newentry->path = g_strdup (tempentry->path);
-
- if (tempentry->hostname)
+ }
+ if (tempentry->hostname) {
newentry->hostname = g_strdup (tempentry->hostname);
-
- if (tempentry->protocol)
+ }
+ if (tempentry->protocol) {
newentry->protocol = g_strdup (tempentry->protocol);
-
- if (tempentry->local_dir)
+ }
+ if (tempentry->local_dir) {
newentry->local_dir = g_strdup (tempentry->local_dir);
-
- if (tempentry->remote_dir)
+ }
+ if (tempentry->remote_dir) {
newentry->remote_dir = g_strdup (tempentry->remote_dir);
-
- if (tempentry->user)
+ }
+ if (tempentry->user) {
newentry->user = g_strdup (tempentry->user);
-
- if (tempentry->pass)
+ }
+ if (tempentry->pass) {
newentry->pass = g_strdup (tempentry->pass);
-
- if (tempentry->acct)
+ }
+ if (tempentry->acct) {
newentry->acct = g_strdup (tempentry->acct);
-
+ }
newentry->port = tempentry->port;
gftp_copy_local_options (&newentry->local_options_vars,
@@ -300,13 +300,15 @@ copy_bookmarks (gftp_bookmarks_var * bookmarks)
else
{
tentry = preventry->children;
- while (tentry->next != NULL)
+ while (tentry->next != NULL) {
tentry = tentry->next;
+ }
tentry->next = newentry;
}
}
else
sibling->next = newentry;
+
newentry->prev = preventry;
if (tempentry->children != NULL)
