Skip to content
Browse files

Now indents the statements inside a function body properly.

  • Loading branch information...
1 parent 311956d commit b1e4683db320a7f59bc73d425fa51154d50ebacf @calvis calvis committed Apr 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/elegant-weapons/print-c.scm
View
2 lib/elegant-weapons/print-c.scm
@@ -201,7 +201,7 @@
((func ,[format-type -> type] ,[format-ident -> name]
,[format-args -> args] ,stmt)
(string-append type " " name "(" args ") {\n"
- (format-stmt stmt)
+ (indent-more (format-stmt stmt))
"\n}\n"))
((kernel-func ,[format-type -> type] ,[format-ident -> name]
,[format-args -> args] ,stmt)

0 comments on commit b1e4683

Please sign in to comment.
Something went wrong with that request. Please try again.