Explorar o código

* fix compilation after last commit. make clean all in ide/ doesn't build all, and weditor
had a local definition of rtrim

git-svn-id: trunk@35998 -

marco %!s(int64=8) %!d(string=hai) anos
pai
achega
2a82951f18
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ide/weditor.pas

+ 1 - 1
ide/weditor.pas

@@ -6805,7 +6805,7 @@ begin
     S:=GetLineText(Line);
     { Remove all traling spaces PM }
     if not Editor^.IsFlagSet(efKeepTrailingSpaces) then
-      s:=RTrim(S);
+      s:=RTrim(S,False); // removes trailing #0 too
     { if FlagSet(efUseTabCharacters) then
       S:=CompressUsingTabs(S,TabSize);
       }