Skip to content

Commit

Permalink
typo with exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ctapmex committed Feb 15, 2024
1 parent a0c26b5 commit 520d024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FarEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ int FarEditor::editorEvent(intptr_t event, void* param)
deleteFarColor(lno, -1);

// length current string
EditorGetString egs {sizeof(FarListGetItem), lno};
EditorGetString egs {sizeof(EditorGetString), lno};
info->EditorControl(editor_id, ECTL_GETSTRING, 0, &egs);
int llen = (int) egs.StringLength;
UnicodeString s = UnicodeString(egs.StringText);
Expand Down

0 comments on commit 520d024

Please sign in to comment.