diff options
Diffstat (limited to 'src/preproc.c')
-rw-r--r-- | src/preproc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/preproc.c b/src/preproc.c index bdf4d40..8b59f21 100644 --- a/src/preproc.c +++ b/src/preproc.c | |||
@@ -247,10 +247,10 @@ grecs_include_path_count(int flag) | |||
247 | { | 247 | { |
248 | size_t count = 0; | 248 | size_t count = 0; |
249 | if (flag & GRECS_STD_INCLUDE) | 249 | if (flag & GRECS_STD_INCLUDE) |
250 | count += grecs_std_include_path ? grecs_std_include_path->count : 0; | 250 | count += grecs_list_size(grecs_std_include_path); |
251 | if (flag & GRECS_USR_INCLUDE) | 251 | if (flag & GRECS_USR_INCLUDE) |
252 | count += grecs_usr_include_path ? grecs_usr_include_path->count : 0; | 252 | count += grecs_list_size(grecs_usr_include_path); |
253 | return 0; | 253 | return count; |
254 | } | 254 | } |
255 | 255 | ||
256 | static int | 256 | static int |