diff --git a/src/Makefile.dep b/src/Makefile.dep index 3fda4df..1782db6 100755 --- a/src/Makefile.dep +++ b/src/Makefile.dep @@ -1,3 +1,3 @@ # DO NOT DELETE -ezc.o: ezc.h +edanticezc.o: ezc.h /home/tomek/roboczy/winix/core/log.h diff --git a/src/ezc.cpp b/src/ezc.cpp index f7c555b..fdeb802 100644 --- a/src/ezc.cpp +++ b/src/ezc.cpp @@ -298,7 +298,10 @@ return *(itext++); bool Pattern::IsWhite(int c ) { - if( c==' ' || c=='\t' || c==13 ) + // 13 is from a dos file at the end of a line (\r\n) + // 160 is an unbreakable space + + if( c==' ' || c=='\t' || c==13 || c==160 ) return true; return false;