[chronojump] Minor comment
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Minor comment
- Date: Wed, 8 Jun 2022 11:18:39 +0000 (UTC)
commit 10776e6a51fb703b2b99f28de0ca179eb1c6ba66
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jun 8 13:18:31 2022 +0200
Minor comment
src/config.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/config.cs b/src/config.cs
index 15d8ef901..76a29deb1 100644
--- a/src/config.cs
+++ b/src/config.cs
@@ -29,7 +29,7 @@ public class Config
public static bool UseSystemColor; //do nothing at all
public static Gdk.Color ColorBackground;
public static bool ColorBackgroundIsDark;
- public static string DataDirStatic = "";
+ public static string DataDirStatic = ""; //works even with spaces in name
public enum SessionModeEnum { STANDARD, UNIQUE, MONTHLY }
@@ -150,7 +150,7 @@ public class Config
GuiTest = true;
else if(parts[0] == "DataDir" && parts[1] != "")
{
- DataDir = parts[1];
+ DataDir = parts[1]; //works even with spaces on name
/*
DataDirStatic is assigned later to not be active on
chronojump.cs,
start when gui is started, to not mess with
runningFileName and others
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]