#2 Can't change the first line in a file

v2.5.1
closed-fixed
1
2002-12-17
2002-08-18
No

A modfile which want to change the first line of a file
can't find it.

Discussion

  • Torsten Mrotz

    Torsten Mrotz - 2002-08-18
    • assigned_to: nobody --> t-master
    • status: open --> open-remind
     
  • Torsten Mrotz

    Torsten Mrotz - 2002-12-15

    Logged In: YES
    user_id=289236

    UNIT: uBoardmod
    "
    12: begin // <search for>
    if (Length(SearchFor) <> 0) or (Length(ModRawData.Strings[j-
    1]) = 0) then SearchFor := SearchFor + br;
    if (length(SearchFor) = 0) then SearchFor := br;
    SearchFor := SearchFor + ModRawData.Strings[j];
    end;
    "
    the br which will be added everytime in front of the searchstr
    is the problem.

    we have to think about an other possibility to ensure that
    BoardMod only searches for complete lines.

     
  • Torsten Mrotz

    Torsten Mrotz - 2002-12-17
    • priority: 5 --> 1
    • status: open-remind --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks