[chronojump/michrolab] Minor comment
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/michrolab] Minor comment
- Date: Thu, 14 Jul 2022 16:37:54 +0000 (UTC)
commit 698feafe3cdb395dfdbc2cd7d77883768bfb4772
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]