src/primitives.cc

changeset 850
a3d72b0e916d
parent 848
68410477c8bb
child 852
cbd89b33f70d
--- a/src/primitives.cc	Sun Jul 27 02:55:27 2014 +0300
+++ b/src/primitives.cc	Sun Jul 27 03:14:27 2014 +0300
@@ -31,9 +31,9 @@
 static PrimitiveScanner* g_activeScanner = null;
 PrimitiveCategory* g_unmatched = null;
 
-EXTERN_CFGENTRY (String, defaultName);
-EXTERN_CFGENTRY (String, defaultUser);
-EXTERN_CFGENTRY (Int, defaultLicense);
+EXTERN_CFGENTRY (String, DefaultName);
+EXTERN_CFGENTRY (String, DefaultUser);
+EXTERN_CFGENTRY (Int, DefaultLicense);
 
 static const QStringList g_radialNameRoots =
 {
@@ -622,10 +622,10 @@
 	QString author = APPNAME;
 	QString license = "";
 
-	if (not cfg::defaultName.isEmpty())
+	if (not cfg::DefaultName.isEmpty())
 	{
 		license = PreferredLicenseText();
-		author = format ("%1 [%2]", cfg::defaultName, cfg::defaultUser);
+		author = format ("%1 [%2]", cfg::DefaultName, cfg::DefaultUser);
 	}
 
 	LDObjectList objs;

mercurial