mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 09:39:31 +02:00
Formatting, comment.
git-svn-id: trunk@52109 -
This commit is contained in:
parent
3594a6b528
commit
2c41ccf609
@ -643,7 +643,7 @@ begin
|
||||
end;
|
||||
|
||||
{ Find the start of the UTF8 character which contains BytePos,
|
||||
if BytePos is not part of a valid Utf8Codepoint the function returns BytePos
|
||||
if BytePos is not part of a valid Utf8 Codepoint the function returns BytePos
|
||||
Len is length in byte, BytePos starts at 0 }
|
||||
function UTF8FindNearestCharStart(UTF8Str: PChar; Len: SizeInt; BytePos: SizeInt): SizeInt;
|
||||
var
|
||||
|
@ -639,7 +639,7 @@ begin
|
||||
// register special buttons in the dialog itself
|
||||
btnShowOptions := CreateButton(dlgCOShowOptions);
|
||||
btnShowOptions.LoadGlyphFromResourceName(HInstance, 'menu_compiler_options');
|
||||
btnShowOptions.OnClick := @DoShowOptions;
|
||||
btnShowOptions.OnClick := @DoShowOptions;
|
||||
// Check
|
||||
btnCheck := CreateButton(lisCompTest);
|
||||
btnCheck.ModalResult := mrNone;
|
||||
@ -650,12 +650,12 @@ begin
|
||||
|
||||
// Export
|
||||
btnExport := CreateButton(lisExport);
|
||||
btnExport.OnClick := @DoExport;
|
||||
btnExport.OnClick := @DoExport;
|
||||
btnExport.Hint := dlgCOLoadSaveHint;
|
||||
btnExport.LoadGlyphFromStock(idButtonSave);
|
||||
// Import
|
||||
btnLoadSave := CreateButton(lisImport);
|
||||
btnLoadSave.OnClick := @DoImport;
|
||||
btnLoadSave.OnClick := @DoImport;
|
||||
btnLoadSave.Hint := dlgCOLoadSaveHint;
|
||||
btnLoadSave.LoadGlyphFromStock(idButtonOpen);
|
||||
if btnLoadSave.Glyph.Empty then
|
||||
|
Loading…
Reference in New Issue
Block a user