summaryrefslogtreecommitdiff
path: root/src/xkmread.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-29 19:52:34 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-29 19:52:34 -0200
commitd17cd6e80f1ec78b69ba11ee55465420e6d7e9a9 (patch)
tree828a229ae9d48fb22ed17f7a127c99864c369e3e /src/xkmread.c
parentdd9514fe714d81b881a1bd6bd88d4287adc5fc7e (diff)
Janitor: distcheck, compiler warnings, .gitignore.
Diffstat (limited to 'src/xkmread.c')
-rw-r--r--src/xkmread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xkmread.c b/src/xkmread.c
index f22941f..91bfa7b 100644
--- a/src/xkmread.c
+++ b/src/xkmread.c
@@ -1208,7 +1208,7 @@ xkmSectionInfo tmpTOC;
char name[100];
if ((!file)||(!toc))
- return 0;
+ return NULL;
switch (toc->type) {
case XkmVirtualModsIndex:
case XkmIndicatorsIndex:
@@ -1223,7 +1223,7 @@ char name[100];
if ((tmpTOC.type!=toc->type)||(tmpTOC.format!=toc->format)||
(tmpTOC.size!=toc->size)||(tmpTOC.offset!=toc->offset)) {
_XkbLibError(_XkbErrIllegalContents,"XkmReadFileSectionName",0);
- return 0;
+ return NULL;
}
if (XkmGetCountedString(file,name,100)>0)
return _XkbDupString(name);