浏览代码

Ensure training new line in cocci files

Anonymous Maarten 2 年之前
父节点
当前提交
c4b471bd13
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 0
      .editorconfig
  2. 1 1
      build-scripts/SDL_migration.cocci

+ 3 - 0
.editorconfig

@@ -63,3 +63,6 @@ tab_width = 4
 
 [{*.bat,*.rc}]
 end_of_line = crlf
+
+[*.cocci]'
+insert_final_newline = true

+ 1 - 1
build-scripts/SDL_migration.cocci

@@ -1746,4 +1746,4 @@ SDL_CreateRenderer(e1,
 @@
 - SDL_GetRectDisplayIndex
 + SDL_GetDisplayIndexForRect
-  (...)
+  (...)