stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ea3c30ca1ee218aaad5ee349deb5bf21d8cc301d

commit ea3c30ca1ee218aaad5ee349deb5bf21d8cc301d
Author: Stefan Schmidt <[email protected]>
Date:   Fri Jan 31 13:35:54 2020 +0100

    exactness: cleanup some coding style isues
    
    Just a few that I spotted when looking over the code.
    
    Reviewed-by: Mike Blumenkrantz <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11290
---
 src/bin/exactness/inspect.c  | 14 +++++++++-----
 src/bin/exactness/recorder.c |  6 ++++--
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/src/bin/exactness/inspect.c b/src/bin/exactness/inspect.c
index 95d504cd83..64f5d1760f 100644
--- a/src/bin/exactness/inspect.c
+++ b/src/bin/exactness/inspect.c
@@ -104,7 +104,8 @@ _action_specific_info_get(const Exactness_Action *act, char 
output[1024])
               sprintf(output, "Direction %d Z %d", t->direction, t->z);
               break;
            }
-      case EXACTNESS_ACTION_MULTI_UP: case EXACTNESS_ACTION_MULTI_DOWN:
+      case EXACTNESS_ACTION_MULTI_UP:
+      case EXACTNESS_ACTION_MULTI_DOWN:
            {
               Exactness_Action_Multi_Event *t = act->data;
               if (!t->d)
@@ -124,7 +125,8 @@ _action_specific_info_get(const Exactness_Action *act, char 
output[1024])
                        t->d, t->x, t->y, t->rad, t->radx, t->rady, t->pres, 
t->ang, t->fx, t->fy);
               break;
            }
-      case EXACTNESS_ACTION_KEY_UP: case EXACTNESS_ACTION_KEY_DOWN:
+      case EXACTNESS_ACTION_KEY_UP:
+      case EXACTNESS_ACTION_KEY_DOWN:
            {
               Exactness_Action_Key_Down_Up *t = act->data;
               sprintf(output, "Keyname %s Key %s String %s Compose %s Keycode 
%d",
@@ -172,11 +174,13 @@ _are_scenario_entries_different(Exactness_Action *act1, 
Exactness_Action *act2)
      {
       case EXACTNESS_ACTION_MOUSE_WHEEL:
          return !!memcmp(act1->data, act2->data, 
sizeof(Exactness_Action_Mouse_Wheel));
-      case EXACTNESS_ACTION_MULTI_DOWN: case EXACTNESS_ACTION_MULTI_UP:
+      case EXACTNESS_ACTION_MULTI_DOWN:
+      case EXACTNESS_ACTION_MULTI_UP:
          return !!memcmp(act1->data, act2->data, 
sizeof(Exactness_Action_Multi_Event));
       case EXACTNESS_ACTION_MULTI_MOVE:
          return !!memcmp(act1->data, act2->data, 
sizeof(Exactness_Action_Multi_Move));
-      case EXACTNESS_ACTION_KEY_UP: case EXACTNESS_ACTION_KEY_DOWN:
+      case EXACTNESS_ACTION_KEY_UP:
+      case EXACTNESS_ACTION_KEY_DOWN:
          return !!memcmp(act1->data, act2->data, 
sizeof(Exactness_Action_Key_Down_Up));
       case EXACTNESS_ACTION_EFL_EVENT:
            {
@@ -313,7 +317,7 @@ _grp_text_get(void *data, Evas_Object *gl, const char *part 
EINA_UNUSED)
               if (!compare)
                 {
                    Exactness_Unit *unit = efl_key_data_get(gl, "unit");
-                   sprintf(buf2, "Fonts directory: %s", 
unit->fonts_path?unit->fonts_path:"None");
+                   sprintf(buf2, "Fonts directory: %s", unit->fonts_path ? 
unit->fonts_path : "None");
                 }
               else
                 {
diff --git a/src/bin/exactness/recorder.c b/src/bin/exactness/recorder.c
index a8c592e111..5b529b5b8c 100644
--- a/src/bin/exactness/recorder.c
+++ b/src/bin/exactness/recorder.c
@@ -135,7 +135,8 @@ _event_pointer_cb(void *data, const Efl_Event *event)
              if (n_evas >= 0) _add_to_list(evt, n_evas, timestamp, &t, 
sizeof(t));
              break;
           }
-      case EFL_POINTER_ACTION_DOWN: case EFL_POINTER_ACTION_UP:
+      case EFL_POINTER_ACTION_DOWN:
+      case EFL_POINTER_ACTION_UP:
           {
              double rad = 0, radx = 0, rady = 0, pres = 0, ang = 0, fx = 0, fy 
= 0;
              int b = efl_input_pointer_button_get(evp);
@@ -147,7 +148,8 @@ _event_pointer_cb(void *data, const Efl_Event *event)
              if (n_evas >= 0) _add_to_list(evt, n_evas, timestamp, &t, 
sizeof(t));
              break;
           }
-      case EFL_POINTER_ACTION_IN: case EFL_POINTER_ACTION_OUT:
+      case EFL_POINTER_ACTION_IN:
+      case EFL_POINTER_ACTION_OUT:
           {
              if (n_evas >= 0) _add_to_list(evt, n_evas, timestamp, NULL, 0);
              break;

-- 


Reply via email to