mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Fixed a small save bug
This commit is contained in:
parent
0d65bb64f9
commit
12bf140931
@ -115,7 +115,7 @@ AutoIncBuild=1
|
||||
MajorVer=1
|
||||
MinorVer=2
|
||||
Release=0
|
||||
Build=3
|
||||
Build=4
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
@ -126,7 +126,7 @@ CodePage=1252
|
||||
[Version Info Keys]
|
||||
CompanyName=AMX Mod X Dev Team
|
||||
FileDescription=
|
||||
FileVersion=1.2.0.3
|
||||
FileVersion=1.2.0.4
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
|
Binary file not shown.
Binary file not shown.
@ -122,6 +122,7 @@ begin
|
||||
eIdent := 0;
|
||||
eTempIdent := 0;
|
||||
|
||||
Cancel := False;
|
||||
ShowProgress(False);
|
||||
frmMain.pbLoading.Max := frmMain.sciEditor.Lines.Count *2 -2;
|
||||
for i := 0 to frmMain.sciEditor.Lines.Count -1 do begin
|
||||
@ -227,6 +228,7 @@ var i: integer;
|
||||
begin
|
||||
Screen.Cursor := crHourGlass;
|
||||
frmMain.sciEditor.Enabled := False;
|
||||
Cancel := False;
|
||||
ShowProgress(False);
|
||||
frmMain.pbLoading.Max := frmMain.sciEditor.Lines.Count -1;
|
||||
|
||||
@ -291,7 +293,7 @@ end;
|
||||
function Between(eText, eFirst, eSecond: String): String;
|
||||
var eTemp: String;
|
||||
begin
|
||||
if (Pos(eFirst, eText) = 0) and (Pos(eSecond, eText) = 0) then
|
||||
if (Pos(eFirst, eText) = 0) or (Pos(eSecond, eText) = 0) then
|
||||
Result := ''
|
||||
else begin
|
||||
eTemp := eText;
|
||||
|
@ -808,6 +808,7 @@ begin
|
||||
end;
|
||||
|
||||
Result := True;
|
||||
Cancel := False;
|
||||
|
||||
ShowProgress(True);
|
||||
try
|
||||
@ -1080,6 +1081,7 @@ begin
|
||||
end;
|
||||
|
||||
Screen.Cursor := crHourGlass;
|
||||
Cancel := False;
|
||||
ShowProgress(True);
|
||||
|
||||
AssignFile(F, AFilename);
|
||||
|
Loading…
Reference in New Issue
Block a user