mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
TextEditor: Rename "file_name" => "filename"
This commit is contained in:
parent
f3091d89aa
commit
297a2762cd
Notes:
sideshowbarker
2024-07-18 18:39:02 +09:00
Author: https://github.com/awesomekling
Commit: 297a2762cd
3 changed files with 9 additions and 11 deletions
|
@ -72,7 +72,7 @@ int main(int argc, char** argv)
|
|||
if (file_to_edit) {
|
||||
// A file name was passed, parse any possible line and column numbers included.
|
||||
FileArgument parsed_argument(file_to_edit);
|
||||
if (!text_widget.open_file(parsed_argument.file_name()))
|
||||
if (!text_widget.open_file(parsed_argument.filename()))
|
||||
return 1;
|
||||
text_widget.editor().set_cursor_and_focus_line(parsed_argument.line().value_or(1) - 1, parsed_argument.column().value_or(0));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue