This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch prefer-libddcutil5
in repository enlightenment.

View the commit online.

commit 095e14f4390996307a29f7948faea63ee58fbfbd
Author: rafspiny <rafsp...@gmail.com>
AuthorDate: Thu Aug 3 12:31:01 2023 +0200

    Syntax sugar in for loops
---
 src/modules/convertible/dbus_acceleration.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/convertible/dbus_acceleration.c b/src/modules/convertible/dbus_acceleration.c
index 660f886d1..0ffbc0441 100644
--- a/src/modules/convertible/dbus_acceleration.c
+++ b/src/modules/convertible/dbus_acceleration.c
@@ -314,7 +314,7 @@ _fetch_X_device_input_number(void)
    int dev_num = ecore_x_input_device_num_get();
    int dev_number = -1;
 
-   for (int dev_counter=0; dev_counter<dev_num; dev_counter++)
+   for (int dev_counter = 0; dev_counter < dev_num; dev_counter++)
    {
       dev_name = ecore_x_input_device_name_get(dev_counter);
       // Less horrible hack that relies on the presence of a property containing the work Calibration
@@ -327,7 +327,7 @@ _fetch_X_device_input_number(void)
        if (is_correct_device == EINA_FALSE)
           continue;
        iterator = property_name;
-       for (int i=0; i<num_properties; i++)
+       for (int i = 0; i < num_properties; i++)
        {
           if (!strcmp(*iterator, CTM_name))
           {
@@ -346,7 +346,7 @@ _is_device_a_touch_pointer(int dev_counter, int num_properties, char **iterator)
 {
    // Looking for a device with either a libinput property for calibration or the old evdev Axlis labels property.
    int is_correct_device = EINA_FALSE;
-   for (int i=0; i<num_properties; i++)
+   for (int i = 0; i < num_properties; i++)
    {
       if (strstr(*iterator, "libinput Calibration Matrix"))
          is_correct_device = EINA_TRUE;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to