summaryrefslogtreecommitdiff
path: root/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'expr.c')
-rw-r--r--expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/expr.c b/expr.c
index e116688..96fd956 100644
--- a/expr.c
+++ b/expr.c
@@ -488,7 +488,7 @@ ExprResolveFloat(ExprDef * expr,
{
register char *str;
str = XkbAtomGetString(NULL, expr->value.str);
- if ((str != None) && (strlen(str) == 1))
+ if ((str != NULL) && (strlen(str) == 1))
{
val_rtrn->uval = str[0] * XkbGeomPtsPerMM;
return True;
@@ -601,7 +601,7 @@ ExprResolveInteger(ExprDef * expr,
{
register char *str;
str = XkbAtomGetString(NULL, expr->value.str);
- if (str != None)
+ if (str != NULL)
switch (strlen(str))
{
case 0: