aboutsummaryrefslogtreecommitdiff
path: root/libxkbfile/src/xkmread.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxkbfile/src/xkmread.c')
-rw-r--r--libxkbfile/src/xkmread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libxkbfile/src/xkmread.c b/libxkbfile/src/xkmread.c
index ae056617b..e5127c910 100644
--- a/libxkbfile/src/xkmread.c
+++ b/libxkbfile/src/xkmread.c
@@ -1213,6 +1213,8 @@ char name[100];
return _XkbDupString(name);
break;
default:
+ fseek(file,toc->offset,SEEK_SET);
+ fread(&tmpTOC,SIZEOF(xkmSectionInfo),1,file);
_XkbLibError(_XkbErrBadImplementation,
XkbConfigText(tmpTOC.type,XkbMessage),0);
break;