Changeset 474 for tools/wow_patcher


Ignore:
Timestamp:
Apr 23, 2010, 8:51:57 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Chybně vkládána nula na začátku generovaného WowLua souboru.
Location:
tools/wow_patcher
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/wow_patcher/wowpatcher.lpi

    r473 r474  
    3939        <IsPartOfProject Value="True"/>
    4040        <UnitName Value="wowpatcher"/>
    41         <CursorPos X="30" Y="130"/>
    42         <TopLine Value="122"/>
     41        <CursorPos X="37" Y="168"/>
     42        <TopLine Value="150"/>
    4343        <EditorIndex Value="0"/>
    4444        <UsageCount Value="49"/>
  • tools/wow_patcher/wowpatcher.pas

    r473 r474  
    133133  NewFile := TFileStream.Create(NewFileName, fmCreate);
    134134  SetLength(Buffer, OriginalFile.Size);
    135   OriginalFile.Read(Buffer[1], Length(Buffer));
     135  OriginalFile.Read(Buffer[0], Length(Buffer));
    136136  OriginalFile.Destroy;
    137137
Note: See TracChangeset for help on using the changeset viewer.