update: fixed normed on more stuff
This commit is contained in:
parent
d36fea0c95
commit
25ec735d0c
4 changed files with 20 additions and 12 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/07/10 15:47:12 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/09/02 17:44:16 by rparodi ### ########.fr */
|
||||
/* Updated: 2024/09/13 15:31:02 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -15,10 +15,6 @@
|
|||
#include "line/_line_structs.h"
|
||||
#include "me/mem/mem.h"
|
||||
|
||||
#ifdef static
|
||||
# undef static
|
||||
#endif
|
||||
|
||||
t_const_str get_unfinished_str(void)
|
||||
{
|
||||
return ("If you see this,"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/07/11 18:10:24 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/07/30 17:14:18 by rparodi ### ########.fr */
|
||||
/* Updated: 2024/09/13 15:30:46 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ bool line_no_tty_impl(t_str *out)
|
|||
chr = '\n';
|
||||
if (read_fd(get_stdin(), (t_u8 *)&chr, 1, &ret))
|
||||
return (string_free(line), *out = NULL, true);
|
||||
if (ret == 0)
|
||||
if (ret == 0)
|
||||
{
|
||||
if (line.len == 0)
|
||||
return (string_free(line), *out = NULL, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue