[PATCH:libX11 4/7] Fix comment typo & confusing indentation levels in Data() macro definition
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Feb 17 09:45:45 PST 2013
The final } matches the one on the #define line, not one that doesn't
appear after the else statement it was lined up with
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
include/X11/Xlibint.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/X11/Xlibint.h b/include/X11/Xlibint.h
index 23e751b..7911fd7 100644
--- a/include/X11/Xlibint.h
+++ b/include/X11/Xlibint.h
@@ -574,7 +574,7 @@ extern void _XFlushGCCache(Display *dpy, GC gc);
* 32 bit word alignment. Transmit if the buffer fills.
*
* "dpy" is a pointer to a Display.
- * "data" is a pinter to a data buffer.
+ * "data" is a pointer to a data buffer.
* "len" is the length of the data buffer.
*/
#ifndef DataRoutineIsProcedure
@@ -584,7 +584,7 @@ extern void _XFlushGCCache(Display *dpy, GC gc);
dpy->bufptr += ((len) + 3) & ~3;\
} else\
_XSend(dpy, data, len);\
- }
+}
#endif /* DataRoutineIsProcedure */
--
1.7.9.2
More information about the xorg-devel
mailing list