Skip to content

Commit

Permalink
Strip unnecessary BOM from lua scripts
Browse files Browse the repository at this point in the history
Moonscript on aarch64 build seems unable to handle UTF8-BOM
  • Loading branch information
wangqr committed Jun 6, 2021
1 parent 7a0aa48 commit ce0224c
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion automation/autoload/cleantags-autoload.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--[[
--[[
"Clean Tags" -- An Auto4 LUA script for cleaning up ASS subtitle lines of badly-formed override
blocks and redundant/duplicate tags
* Designed to work for Aegisub 2.0 and above (only pre-release version was available at the time of
Expand Down
2 changes: 1 addition & 1 deletion automation/autoload/karaoke-auto-leadin.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--[[
--[[
Copyright (c) 2007, Niels Martin Hansen
All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion automation/autoload/macro-1-edgeblur.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Automation 4 demo script
-- Automation 4 demo script
-- Macro that adds \be1 tags in front of every selected line

local tr = aegisub.gettext
Expand Down
2 changes: 1 addition & 1 deletion automation/autoload/strip-tags.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Copyright (c) 2010, Thomas Goyne <plorkyeran@aegisub.org>
-- Copyright (c) 2010, Thomas Goyne <plorkyeran@aegisub.org>
--
-- Permission to use, copy, modify, and distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion automation/demos/future-windy-blur.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- This script is given to the public domain.
-- This script is given to the public domain.
-- You can use and modify the effect freely, also without credit, although I would appreciate some.

include("karaskel.lua")
Expand Down
2 changes: 1 addition & 1 deletion automation/demos/raytracer.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- This script is given to the public domain
-- This script is given to the public domain
-- It was originally intended as an april fool's joke in 2007, though it never really caught on.
-- You're encouraged to experiment with this if you have plenty of time.
-- Even if it's made as a joke, it does show that "anything is possible with ASS, although some things are insane to try."
Expand Down
2 changes: 1 addition & 1 deletion automation/include/aegisub/clipboard.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Copyright (c) 2012, Thomas Goyne <plorkyeran@aegisub.org>
-- Copyright (c) 2012, Thomas Goyne <plorkyeran@aegisub.org>
--
-- Permission to use, copy, modify, and distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion automation/include/aegisub/unicode.moon
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Copyright (c) 2007, Niels Martin Hansen, Rodrigo Braz Monteiro
-- Copyright (c) 2007, Niels Martin Hansen, Rodrigo Braz Monteiro
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion automation/include/cleantags.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--[[
--[[
"Clean Tags" -- An Auto4 LUA script for cleaning up ASS subtitle lines of badly-formed override
blocks and redundant/duplicate tags
* Designed to work for Aegisub 2.0 and above
Expand Down
2 changes: 1 addition & 1 deletion automation/include/clipboard.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Copyright (c) 2012, Thomas Goyne <plorkyeran@aegisub.org>
-- Copyright (c) 2012, Thomas Goyne <plorkyeran@aegisub.org>
--
-- Permission to use, copy, modify, and distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion automation/include/karaskel.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--[[
--[[
Copyright (c) 2007, Niels Martin Hansen, Rodrigo Braz Monteiro
All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion automation/include/re.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Copyright (c) 2013, Thomas Goyne <plorkyeran@aegisub.org>
-- Copyright (c) 2013, Thomas Goyne <plorkyeran@aegisub.org>
--
-- Permission to use, copy, modify, and distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion automation/include/unicode.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Copyright (c) 2013, Thomas Goyne <plorkyeran@aegisub.org>
-- Copyright (c) 2013, Thomas Goyne <plorkyeran@aegisub.org>
--
-- Permission to use, copy, modify, and distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion automation/include/utils-auto4.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--[[
--[[
Copyright (c) 2005-2010, Niels Martin Hansen, Rodrigo Braz Monteiro
All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion automation/include/utils.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--[[
--[[
Copyright (c) 2005-2006, Niels Martin Hansen, Rodrigo Braz Monteiro
All rights reserved.
Expand Down

0 comments on commit ce0224c

Please sign in to comment.