[gnome-commander/get_rid_of_xml] noop: corrected variable names



commit 1ae18786aba91d078b7cf40059475b2f53c5b714
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Fri Jan 11 23:06:38 2019 +0100

    noop: corrected variable names

 src/gnome-cmd-data.cc | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index 6edf6c7c..a52897d9 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -3000,25 +3000,25 @@ void GnomeCmdData::load_connections()
 
        while ((connection = g_variant_iter_next_value (&iter)) != NULL)
     {
-        g_autofree gchar *name, *nameDecompressed, *uri, *uriDecompressed;
+        g_autofree gchar *name, *nameCompressed, *uri, *uriCompressed;
 
                g_assert (g_variant_is_of_type (connection, G_VARIANT_TYPE 
(GCMD_SETTINGS_CONNECTION_FORMAT_STRING)));
                g_variant_get(connection, GCMD_SETTINGS_CONNECTION_FORMAT_STRING, &name, &uri);
 
-        nameDecompressed = g_strcompress(name);
-        uriDecompressed  = g_strcompress(uri);
+        nameCompressed = g_strcompress(name);
+        uriCompressed  = g_strcompress(uri);
 
-        if (gnome_cmd_con_list_get()->has_alias(nameDecompressed))
+        if (gnome_cmd_con_list_get()->has_alias(nameCompressed))
         {
-            gnome_cmd_con_erase_bookmark (gnome_cmd_con_list_get()->find_alias(nameDecompressed));
+            gnome_cmd_con_erase_bookmark (gnome_cmd_con_list_get()->find_alias(nameCompressed));
         }
         else
         {
-            GnomeCmdConRemote *server = gnome_cmd_con_remote_new (nameDecompressed, uriDecompressed);
+            GnomeCmdConRemote *server = gnome_cmd_con_remote_new (nameCompressed, uriCompressed);
             if (server)
                 gnome_cmd_con_list_get()->add(server);
             else
-                g_warning ("<Connection> invalid URI: '%s' - ignored", uriDecompressed);
+                g_warning ("<Connection> invalid URI: '%s' - ignored", uriCompressed);
         }
 
                g_variant_unref(connection);


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