summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/common.h4
-rw-r--r--common/config_file.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/common/common.h b/common/common.h
index e7b1974..a5fb2fc 100644
--- a/common/common.h
+++ b/common/common.h
@@ -456,8 +456,8 @@ typedef enum
#endif
#if defined CONFIG_DIALOG || ( (0x039999 >= 0x040000))
-#define TQTCURVE_PREVIEW_CONFIG "TQTCURVE_PREVIEW_CONFIG"
-#define TQTCURVE_PREVIEW_CONFIG_FULL "TQTCURVE_PREVIEW_CONFIG_FULL"
+#define TQTCURVE_PREVIEW_CONFIG "QTCURVE_PREVIEW_CONFIG"
+#define TQTCURVE_PREVIEW_CONFIG_FULL "QTCURVE_PREVIEW_CONFIG_FULL"
typedef enum
{
diff --git a/common/config_file.c b/common/config_file.c
index a144ae6..126838f 100644
--- a/common/config_file.c
+++ b/common/config_file.c
@@ -1599,7 +1599,7 @@ static bool readConfig(const char *file, Options *opts, Options *defOpts)
#ifdef __cplusplus
if(file.isEmpty())
{
- const char *env=getenv("TQTCURVE_CONFIG_FILE");
+ const char *env=getenv("QTCURVE_CONFIG_FILE");
if(NULL!=env)
return readConfig(env, opts, defOpts);
@@ -1620,7 +1620,7 @@ static bool readConfig(const char *file, Options *opts, Options *defOpts)
#else
if(!file)
{
- const char *env=getenv("TQTCURVE_CONFIG_FILE");
+ const char *env=getenv("QTCURVE_CONFIG_FILE");
if(NULL!=env)
return readConfig(env, opts, defOpts);