1. Ilya Arkhipov
  2. d4p

Commits

Ilya Arkhipov  committed f2697ee

Some style fixes. [tijl@]

  • Participants
  • Parent commits 5b9fabe
  • Branches default

Comments (0)

Files changed (1)

File dialog4ports.c

View file
  *
  * $FreeBSD$
  */
+
 #include <err.h>
 #include <errno.h>
 #include <dialog.h>
 	if (desc == NULL || desc[0] == '\0')
 		return (fallback);
 
-	return desc;
+	return (desc);
 }
 
 static bool
 
 	env = getenv(env_name);
 	if (env == NULL)
-		return 0;
+		return (0);
 
 	if (strcmp(env_name, "ALL_OPTIONS") == 0) {
 		tofree = temp = strdup(env);
 	if (group == 0)
 		group++;
 
-	return 0;
+	return (0);
 }
 
 
 	parsing_env(&items, "OPTIONS_SINGLE", ITEM_RADIO);
 	parsing_env(&items, "OPTIONS_RADIO", ITEM_RADIO);
 
-	return items;
+	return (items);
 }
 
 static int
 		res = dlg_mixedlist(title, cprompt, height, min_height, width,
 				list_no, items, &i, align_center);
 
-	return res;
+	return (res);
 }
 
 static void
 	char *helpfile;
 	dialog_mixedlist* items;
 
-
 	setlocale(LC_ALL, "");
 	errno = 0;
 
 			}
 		}
 	} else {
-		return 1;
+		return (1);
 	}
 
 	return (0);
 }
-