util.c

changeset 62
aae5facf9fc5
parent 53
f8f9366b359c
child 70
e866dc825481
--- a/util.c	Mon Feb 16 18:09:03 2004 +0100
+++ b/util.c	Mon Feb 16 18:50:28 2004 +0100
@@ -25,35 +25,35 @@
 
 void libtu_init(const char *argv0)
 {
-	progname=argv0;
-	
+    progname=argv0;
+    
 #ifdef CONFIG_LOCALE
-	textdomain(simple_basename(argv0));
+    textdomain(simple_basename(argv0));
 #endif
 }
 
 
 void libtu_init_copt(int argc, char *const argv[],
-					 const OptParserCommonInfo *cinfo)
+                     const OptParserCommonInfo *cinfo)
 {
-	int opt;
-	
-	libtu_init(argv[0]);
-	
-	optparser_init(argc, argv, OPTP_DEFAULT, NULL, cinfo);
-	
-    while((opt=optparser_get_opt())){	
-		switch(opt){
-		default:
-			optparser_print_error();
-			exit(EXIT_FAILURE);
-		}
-	}
+    int opt;
+    
+    libtu_init(argv[0]);
+    
+    optparser_init(argc, argv, OPTP_DEFAULT, NULL, cinfo);
+    
+    while((opt=optparser_get_opt())){    
+        switch(opt){
+        default:
+            optparser_print_error();
+            exit(EXIT_FAILURE);
+        }
+    }
 }
 
 
 const char *prog_execname()
 {
-	return progname;
+    return progname;
 }
 

mercurial