diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-07-14 10:53:27 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-07-14 10:53:27 (GMT) |
commit | 9dad46d59fc491cac90795c418e3f973b85c2b4d (patch) | |
tree | 00b2618f9001d104490ab385dabb99c268237a3f /src/decomp | |
parent | 9371129c1b7aa830ed889abd4481cb505d90c4a7 (diff) |
Limited all routines using code from binary.c.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@250 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/decomp')
-rw-r--r-- | src/decomp/lang/java.c | 4 |
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); |