[gnome-games] Drop spaces before semicolons



commit f022b3daab14584aa80399e47f7c1088e8e76fa6
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat Nov 7 15:14:21 2020 +0100

    Drop spaces before semicolons

 src/utils/cue-sheet/cue-sheet.vala | 2 +-
 src/utils/directory.vala           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/utils/cue-sheet/cue-sheet.vala b/src/utils/cue-sheet/cue-sheet.vala
index 576cc16b..8a3aa1a1 100644
--- a/src/utils/cue-sheet/cue-sheet.vala
+++ b/src/utils/cue-sheet/cue-sheet.vala
@@ -77,7 +77,7 @@ public class Games.CueSheet : Object {
                CueSheetFileNode? latest_file = null;
 
                size_t line = 1;
-               for (size_t i = 0 ; i < tokens.length ; line++)
+               for (size_t i = 0; i < tokens.length; line++)
                        // Each case must consume the line completely.
                        switch (tokens[i]) {
                        case "FILE":
diff --git a/src/utils/directory.vala b/src/utils/directory.vala
index 053d0ab5..1395595b 100644
--- a/src/utils/directory.vala
+++ b/src/utils/directory.vala
@@ -11,7 +11,7 @@ public class Games.Directory : Object {
 
        public void @foreach (string attributes, FileInfoTest file_info_test) throws Error {
                var enumerator = file.enumerate_children (attributes, FileQueryInfoFlags.NONE);
-               for (var file_info = enumerator.next_file () ; file_info != null ; file_info = 
enumerator.next_file ())
+               for (var file_info = enumerator.next_file (); file_info != null; file_info = 
enumerator.next_file ())
                        if (file_info_test (file_info))
                                return;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]