[PATCH] xts5: Try to improve readability.

Cyril Brulebois kibi at debian.org
Fri Jun 3 06:37:54 PDT 2011


Suggested-by: Walter Harms <wharms at bfs.de>
Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 xts5/src/lib/nextvclass.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/xts5/src/lib/nextvclass.c b/xts5/src/lib/nextvclass.c
index 7a6a5f2..da4dc1f 100644
--- a/xts5/src/lib/nextvclass.c
+++ b/xts5/src/lib/nextvclass.c
@@ -221,7 +221,8 @@ int	Lclass;
 		}
 		Lclass = Nclass;
 		for (s = left_bracket; s; s = comma) {
-			if ((comma = strchr(++s, COMMA)))
+			comma = strchr(++s, COMMA);
+			if (comma)
 				*comma = '\0';
 			if (*s == '\0')
 				break;
-- 
1.7.5.3



More information about the xorg-devel mailing list