From b596ddbbc134246d8af254966652a9c12d5e668d Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 26 Nov 2012 20:28:09 +0000 Subject: [PATCH] Correct type change from char * to String introduced in rev 13904 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13937 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Preprocessor/cpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Preprocessor/cpp.c b/Source/Preprocessor/cpp.c index 4366a8434..7e45c5bd4 100644 --- a/Source/Preprocessor/cpp.c +++ b/Source/Preprocessor/cpp.c @@ -1870,7 +1870,7 @@ String *Preprocessor_parse(String *s) { push_imported(); } dirname = Swig_file_dirname(Swig_last_file()); - if (sysfile || !strlen(dirname)) { + if (sysfile || !Len(dirname)) { Delete(dirname); dirname = 0; }