From c71e189efd63b3875904d8fe2b8a030e68919aad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 25 Jul 2020 21:38:34 +0200 Subject: Style: Fix code format scripts compat with non-GNU Unices It's too hard to get compatibility between GNU and BSD sed, so let's just use perl oneliners. And improve it to also remove trailing tabs, not just spaces. --- .../android/java/lib/src/org/godotengine/godot/vulkan/VkRenderer.kt | 2 +- platform/windows/godot.natvis | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'platform') diff --git a/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkRenderer.kt b/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkRenderer.kt index aeb4628d5d..7fa8e3b4e5 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkRenderer.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkRenderer.kt @@ -71,7 +71,7 @@ internal class VkRenderer { */ fun onVkSurfaceChanged(surface: Surface, width: Int, height: Int) { GodotLib.resize(surface, width, height) - + for (plugin in pluginRegistry.getAllPlugins()) { plugin.onVkSurfaceChanged(surface, width, height) } diff --git a/platform/windows/godot.natvis b/platform/windows/godot.natvis index 593557cc69..90f0b55d0a 100644 --- a/platform/windows/godot.natvis +++ b/platform/windows/godot.natvis @@ -19,7 +19,7 @@ - + _data ? (_data->size_cache) : 0 @@ -62,7 +62,7 @@ {*(PoolColorArray *)_data._mem} ((String *)(_data._mem))->_cowdata._ptr,su - + _data._bool _data._int @@ -143,7 +143,7 @@ a - + (Object*)this -- cgit v1.2.3