commit 7b64f0f1964cc533875876d97e4e596262c20eff
parent 2bf55f91617a3ce27799ee30bdf312e7be92a8f5
Author: conrad <conrad@9c49b5d1-7df3-0310-bce2-b7278e68f44c>
Date:   Sat, 12 Jan 2008 12:42:52 +0000
layout
git-svn-id: http://svn.kfish.org/xsel/trunk@198 9c49b5d1-7df3-0310-bce2-b7278e68f44c
Diffstat:
| M | xsel.c |  |  | 19 | +++++++------------ | 
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/xsel.c b/xsel.c
@@ -1980,27 +1980,22 @@ main(int argc, char *argv[])
 
   /* Get the UTF8_STRING atom */
   utf8_atom = XInternAtom (display, "UTF8_STRING", True);
-  if( utf8_atom != None)
-    {
+  if(utf8_atom != None) {
     supported_targets[s++] = utf8_atom;
     NUM_TARGETS++;
-    }
-  else
-    {
+  } else {
     utf8_atom = XA_STRING;
-    }
+  }
 
   supported_targets[s++] = XA_STRING;
   NUM_TARGETS++;
 
-  if( need_utf8 == True)
-    {
+  if( need_utf8 == True) {
     local_target=utf8_atom;
-    }
-  else
-    {
+  } else {
     local_target=XA_STRING;
-    }
+  }
+
   /* handle selection keeping and exit if so */
   if (do_keep) {
     keep_selections ();