summaryrefslogtreecommitdiff
path: root/command_handling.c
diff options
context:
space:
mode:
authorDominik Kaiser2024-04-24 11:08:34 +0200
committerDominik Kaiser2024-04-24 11:08:34 +0200
commita931d6df9fd873607442a70351fbb7e0f32590d0 (patch)
treed90f90858bab418d8539f5464afcaa6a96813a76 /command_handling.c
parent6d5af57b81b1d180c5e0c0d8e363553771b72455 (diff)
downloadpush_swap-a931d6df9fd873607442a70351fbb7e0f32590d0.tar.gz
push_swap-a931d6df9fd873607442a70351fbb7e0f32590d0.zip
Norminette formatting
Diffstat (limited to 'command_handling.c')
-rw-r--r--command_handling.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/command_handling.c b/command_handling.c
index 0b5f335..a9bb9b0 100644
--- a/command_handling.c
+++ b/command_handling.c
@@ -6,7 +6,7 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/13 14:38:47 by dkaiser #+# #+# */
-/* Updated: 2024/04/16 09:27:41 by dkaiser ### ########.fr */
+/* Updated: 2024/04/24 10:59:39 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -20,7 +20,7 @@ static int add_cmd_to_queue(t_list **cmds, enum e_pscmd cmd)
ptr_cmd = malloc(sizeof(enum e_pscmd));
if (!ptr_cmd)
return (1);
- *ptr_cmd = cmd;
+ *ptr_cmd = cmd;
new_elem = ft_lstnew(ptr_cmd);
if (!new_elem)
{
@@ -96,5 +96,5 @@ static void print_cmd(void *ptr_cmd)
void print_commands(t_list *cmds)
{
- ft_lstiter(cmds, print_cmd);
+ ft_lstiter(cmds, print_cmd);
}