Subversion Repositories fastphp

Compare Revisions

Regard whitespace Rev 68 → Rev 69

/trunk/EditorMain.pas
979,6 → 979,8
 
if FileExists(ScrapFile) then
begin
if hMutex = 0 then // If the theme is changed from normal to dark, OnShow will be called another time
begin
hMutex := CreateMutex(nil, True, PChar('FastPHP'+IntToStr(StrHash(ScrapFile))));
if GetLastError = ERROR_ALREADY_EXISTS then
begin
988,6 → 990,7
end;
 
SynEdit1.Lines.LoadFromFile(ScrapFile);
end;
end
else
SynEdit1.Lines.Clear;