[Spice-devel] [PATCH x11spice 1/8] Style: tweak a few spaces to match Spice style.

Henri Verbeet hverbeet at codeweavers.com
Tue Feb 18 19:53:30 UTC 2020


From: Jeremy White <jwhite at codeweavers.com>

Signed-off-by: Jeremy White <jwhite at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
 spice-video-dummy/src/dummy.h             | 2 +-
 spice-video-dummy/src/spicedummy_driver.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/spice-video-dummy/src/dummy.h b/spice-video-dummy/src/dummy.h
index cb8afc3..d287a59 100644
--- a/spice-video-dummy/src/dummy.h
+++ b/spice-video-dummy/src/dummy.h
@@ -56,7 +56,7 @@ typedef struct dummyRec {
     int cursorFG, cursorBG;
 
     dummy_colors colors[1024];
-    Bool (*CreateWindow)();    /* wrapped CreateWindow */
+    Bool (*CreateWindow)();     /* wrapped CreateWindow */
     Bool prop;
 
     Bool glamor;
diff --git a/spice-video-dummy/src/spicedummy_driver.c b/spice-video-dummy/src/spicedummy_driver.c
index 1dbe87b..1efae47 100644
--- a/spice-video-dummy/src/spicedummy_driver.c
+++ b/spice-video-dummy/src/spicedummy_driver.c
@@ -292,7 +292,7 @@ dummy_enable_glamor(ScrnInfoRec * scrn)
     const char *accel_method;
 
     if (((accel_method = xf86GetOptValString(dummy->Options, OPTION_ACCEL_METHOD))
-        && strcmp(accel_method, "glamor")) || dummy->fd == -1) {
+         && strcmp(accel_method, "glamor")) || dummy->fd == -1) {
         xf86DrvMsg(scrn->scrnIndex, X_CONFIG, "Glamor disabled.\n");
         return FALSE;
     }
-- 
2.11.0



More information about the Spice-devel mailing list