[dconf-editor] Try to fix commandline when flatpak’d.



commit d59b30fd81c52f046defcc9a32eafdf356e911a7
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sat Feb 24 15:00:49 2018 +0100

    Try to fix commandline when flatpak’d.

 editor/dconf-editor.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/editor/dconf-editor.vala b/editor/dconf-editor.vala
index 0c2f935..794c44d 100644
--- a/editor/dconf-editor.vala
+++ b/editor/dconf-editor.vala
@@ -317,7 +317,7 @@ class ConfigurationEditor : Gtk.Application
             return Posix.EXIT_FAILURE;
         }
 
-        string arg0 = args [0];
+        string arg0 = strdup (args [0]);
         if (" " in arg0)
         {
             if (args.length == 1)


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