summaryrefslogtreecommitdiff
path: root/src/glibext
diff options
context:
space:
mode:
Diffstat (limited to 'src/glibext')
-rw-r--r--src/glibext/gcodebuffer.c6
-rw-r--r--src/glibext/gcodebuffer.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/glibext/gcodebuffer.c b/src/glibext/gcodebuffer.c
index f3634f0..f96212c 100644
--- a/src/glibext/gcodebuffer.c
+++ b/src/glibext/gcodebuffer.c
@@ -1020,10 +1020,14 @@ static bool _g_code_buffer_delete_lines_comment(GCodeBuffer *buffer, GBufferLine
bool g_code_buffer_delete_lines_comment(GCodeBuffer *buffer, GBufferLine *line)
{
- _g_code_buffer_delete_lines_comment(buffer, line);
+ bool result; /* Bilan à retourner */
+
+ result = _g_code_buffer_delete_lines_comment(buffer, line);
/* TODO : emit() */
+ return result;
+
}
diff --git a/src/glibext/gcodebuffer.h b/src/glibext/gcodebuffer.h
index 0f2d601..d04ed76 100644
--- a/src/glibext/gcodebuffer.h
+++ b/src/glibext/gcodebuffer.h
@@ -73,7 +73,7 @@ void g_code_buffer_delete_lines(GCodeBuffer *, size_t, size_t);
/* FIXME */
#define g_code_buffer_append_new_line_fixme(b) \
- g_code_buffer_append_new_line(b, (mrange_t []){ { 0, 0 }, 0 })
+ g_code_buffer_prepare_new_line(b, (mrange_t []){ { 0, 0 }, 0 })
/* FIXME */
#define g_code_buffer_insert_at(buf, a, b) NULL