summaryrefslogtreecommitdiff
path: root/src/cr-simple-sel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cr-simple-sel.c')
-rw-r--r--src/cr-simple-sel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cr-simple-sel.c b/src/cr-simple-sel.c
index 0add0ea..ac90685 100644
--- a/src/cr-simple-sel.c
+++ b/src/cr-simple-sel.c
@@ -254,7 +254,7 @@ cr_simple_sel_compute_specificity (CRSimpleSel * a_this)
g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
for (cur_sel = a_this; cur_sel; cur_sel = cur_sel->next) {
- if (cur_sel->type_mask | TYPE_SELECTOR) {
+ if (cur_sel->type_mask & TYPE_SELECTOR) {
c++; /*hmmh, is this a new language ? */
} else if (!cur_sel->name
|| !cur_sel->name->stryng