Browse Source

Replace tab with space.

Aster Jian 12 years ago
parent
commit
0e62845dab
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Extras/LuaScript/Pkgs/basic.lua

+ 2 - 0
Extras/LuaScript/Pkgs/basic.lua

@@ -38,6 +38,8 @@ function post_output_hook(package)
         if k == 0 then print('Pattern not replaced', pattern) end
         if k == 0 then print('Pattern not replaced', pattern) end
     end
     end
 
 
+	replace("\t", "  ")
+	
     replace([[#ifndef __cplusplus
     replace([[#ifndef __cplusplus
 #include "stdlib.h"
 #include "stdlib.h"
 #endif
 #endif