diff options
Diffstat (limited to 'src/core/modules.c')
-rw-r--r-- | src/core/modules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/modules.c b/src/core/modules.c index 0dac04ae..a76b6765 100644 --- a/src/core/modules.c +++ b/src/core/modules.c @@ -239,7 +239,7 @@ static char *module_get_name(const char *path, int *start, int *end) *start = (int) (name-path); *end = *start + (ptr == NULL ? strlen(name) : - (int) (module_name-ptr)); + (int) (ptr-module_name)); return module_name; } |