Skip to content

Commit

Permalink
text_object: fix typo in cutesy error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bi4k8 authored and bi4k8 committed May 9, 2023
1 parent faba25d commit 00166b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/text_object.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ int append_object(struct text_object *root, struct text_object *obj) {

/* update pointers of the list to append to */
if (end != nullptr) {
if (end->next != nullptr) { CRIT_ERR("huston, we have a lift-off"); }
if (end->next != nullptr) { CRIT_ERR("houston, we have a lift-off"); }
end->next = obj;
} else {
root->next = obj;
Expand Down

2 comments on commit 00166b4

@LinuxOnTheDesktop
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For what it is worth: shouldn't the initial 'h' be capitalised (because it is the name of a place)? Also, I'm unsure whether the indefinite article (the 'a' in 'a lift-off') should be there!

@brndnmtthws
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For what it is worth: shouldn't the initial 'h' be capitalised (because it is the name of a place)? Also, I'm unsure whether the indefinite article (the 'a' in 'a lift-off') should be there!

This is a very good point.

Please sign in to comment.