summaryrefslogtreecommitdiffstats
path: root/src/librcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/librcc.c')
-rw-r--r--src/librcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librcc.c b/src/librcc.c
index 0a66e9a..ec2df39 100644
--- a/src/librcc.c
+++ b/src/librcc.c
@@ -117,7 +117,7 @@ rcc_context rccCreateContext(const char *locale_variable, unsigned int max_langu
if (!initialized) return NULL;
if (!max_languages) {
- if (flags&RCC_NO_DEFAULT_CONFIGURATION) max_languages = RCC_MAX_LANGUAGES;
+ if (flags&RCC_FLAG_NO_DEFAULT_CONFIGURATION) max_languages = RCC_MAX_LANGUAGES;
else {
for (i=0;rcc_default_languages[i].sn;i++);
max_languages = i;
@@ -196,7 +196,7 @@ rcc_context rccCreateContext(const char *locale_variable, unsigned int max_langu
for (i=0;i<RCC_MAX_OPTIONS;i++) rccOptionSetDefault(ctx, (rcc_option)i);
- if (flags&RCC_NO_DEFAULT_CONFIGURATION) {
+ if (flags&RCC_FLAG_NO_DEFAULT_CONFIGURATION) {
rccRegisterLanguage(ctx, rcc_default_languages);
ctx->current_config = NULL;
} else {