Commits

Anonymous committed 00e0190

indentation, yet again, i need to figure out how to make vim modelines work with mysetup

  • Participants
  • Parent commits 00d923c

Comments (0)

Files changed (1)

 		return;
 
 	for (i = 0; cmd_argv[i]; i++) {
-	    if (cmd_argv[i][0] == '%' && cmd_argv[i][1] && cmd_argv[i][2] == '\0') {
-		switch (cmd_argv[i][1]) {
-		    case 'c' : cmd_argv[i] = channel; break;
-		    case 'i' : cmd_argv[i] = in;      break;
-		    case 'o' : cmd_argv[i] = out;     break;
-		    case 'p' : cmd_argv[i] = path;    break;
+		if (cmd_argv[i][0] == '%' && cmd_argv[i][1] && cmd_argv[i][2] == '\0') {
+			switch (cmd_argv[i][1]) {
+				case 'c' : cmd_argv[i] = channel; break;
+				case 'i' : cmd_argv[i] = in;      break;
+				case 'o' : cmd_argv[i] = out;     break;
+				case 'p' : cmd_argv[i] = path;    break;
+			}
 		}
-	    }
 	}
 
 	strcpy(path, paths[wd]);
 	sprintf(in,  "%s/in",  paths[wd]);
 
 	for (i = 0; cmd_argv[i]; i++)
-	    printf("%s ", cmd_argv[i]);
+		printf("%s ", cmd_argv[i]);
 	printf("\n");
 
 	if ((wins[wd] = fork()) == 0) {
 	root = argv[i];
 
 	for (i = 0, t = strtok(cmd, " "); i < MAX_ARGS - 1 && t; i++, t = strtok(NULL, " "))
-	    cmd_argv[i] = t;
+		cmd_argv[i] = t;
 
 	if (stat(root, &st) < 0 || !S_ISDIR(st.st_mode))
 		errx(1, "%s does not exist or is not a directory", root);