format: satisfy linter

This commit is contained in:
rmntgx
2025-05-17 21:56:27 +00:00
parent 44d7836955
commit 0b02a2cef2
6 changed files with 23 additions and 23 deletions

View File

@@ -219,7 +219,7 @@ void ffield_cursor_focus() {
struct user get_current_user() {
if (of_user.current_opt != 0)
return *(struct user*)vec_get(gusers, of_user.current_opt - 1);
return *(struct user *)vec_get(gusers, of_user.current_opt - 1);
else {
struct user custom_user;
custom_user.shell = "/usr/bin/bash";
@@ -239,7 +239,7 @@ struct session get_current_session() {
shell_session.exec = shell_session.name = get_current_user().shell;
return shell_session;
} else
return *(struct session*)vec_get(gsessions, of_session.current_opt - 1);
return *(struct session *)vec_get(gsessions, of_session.current_opt - 1);
} else {
struct session custom_session;
custom_session.type = SHELL;