summaryrefslogtreecommitdiff
path: root/src/decomp/lang
diff options
context:
space:
mode:
Diffstat (limited to 'src/decomp/lang')
-rw-r--r--src/decomp/lang/java.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decomp/lang/java.c b/src/decomp/lang/java.c
index e5ebdf9..21da3af 100644
--- a/src/decomp/lang/java.c
+++ b/src/decomp/lang/java.c
@@ -467,6 +467,8 @@ static void g_java_output_start_routine_body(GJavaOutput *output, GCodeBuffer *b
g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD, " ", 1, RTT_RAW);
g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD, "{", 2, RTT_HOOK);
+ g_code_buffer_inc_indentation(buffer);
+
}
@@ -487,6 +489,8 @@ static void g_java_output_end_routine_body(GJavaOutput *output, GCodeBuffer *buf
{
GBufferLine *line; /* Nouvelle ligne à constituer */
+ g_code_buffer_dec_indentation(buffer);
+
line = g_code_buffer_append_new_line_fixme(buffer);
g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD, "}", 1, RTT_HOOK);