diff options
Diffstat (limited to 'isys/moduleinfo.c')
-rw-r--r-- | isys/moduleinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isys/moduleinfo.c b/isys/moduleinfo.c index 616fa6223..91e349027 100644 --- a/isys/moduleinfo.c +++ b/isys/moduleinfo.c @@ -165,8 +165,8 @@ int isysReadModuleInfo(const char * filename, moduleInfoSet mis) { start = next; } - if (nextModule && nextModule->moduleName) mis->numModules++; - mis->numModules = (nextModule - mis->moduleList) + 1; + if (nextModule && nextModule->moduleName) nextModule++; + mis->numModules = (nextModule - mis->moduleList); return 0; } |