← Back to team overview

kicad-developers team mailing list archive

Resend: [PATCH]: fix a typo in a comment

 

I got no response to the attached email.  Is there a problem with it, or was it simply overlooked?

	Steve
--- Begin Message ---
The newly introduced KICAD_CONFIG_HOME variable has a minor typo in a comment line.  The attached patch corrects this.

	Steve
>From 607f01077e8e0dc77371895309be2697c7da5dd0 Mon Sep 17 00:00:00 2001
From: "Steven A. Falco" <stevenfalco@xxxxxxxxx>
Date: Fri, 27 Apr 2018 09:29:53 -0400
Subject: [PATCH] Fix comment typo.

Comment has XDG_CONFIG_HOME, but it should be KICAD_CONFIG_HOME.
---
 common/common.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/common.cpp b/common/common.cpp
index b96a96437..0f95da847 100644
--- a/common/common.cpp
+++ b/common/common.cpp
@@ -241,7 +241,7 @@ wxString GetKicadConfigPath()
     // Use KICAD_CONFIG_HOME to allow the user to force a specific configuration path.
     if( wxGetEnv( wxT( "KICAD_CONFIG_HOME" ), &envstr ) && !envstr.IsEmpty() )
     {
-        // Override the assignment above with XDG_CONFIG_HOME
+        // Override the assignment above with KICAD_CONFIG_HOME
         cfgpath.AssignDir( envstr );
     }
 
-- 
2.14.3


--- End Message ---

Follow ups

References