summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael McConville <mmcconville ~a~ mykolab ~d~ com>2015-09-19 12:21:22 -0400
committerMichael McConville <mmcconville ~a~ mykolab ~d~ com>2015-09-19 12:21:22 -0400
commitad1a0ad08d4b91852a465a0913618044c7a79873 (patch)
tree5ac54feb87f5940c641abf57c023cb25f39c76bd
parent571cbc0aa1138891f2233db681531d132b31b88f (diff)
Replace some remaining tabs
-rw-r--r--CRT.c4
-rw-r--r--ListItem.c4
-rw-r--r--htop.c4
-rw-r--r--openbsd/OpenBSDProcessList.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/CRT.c b/CRT.c
index 8e3311ed..48182200 100644
--- a/CRT.c
+++ b/CRT.c
@@ -609,9 +609,9 @@ void CRT_init(int delay, int colorScheme) {
CRT_treeStr =
#ifdef HAVE_LIBNCURSESW
- CRT_utf8 ? CRT_treeStrUtf8 :
+ CRT_utf8 ? CRT_treeStrUtf8 :
#endif
- CRT_treeStrAscii;
+ CRT_treeStrAscii;
#if NCURSES_MOUSE_VERSION > 1
mousemask(BUTTON1_RELEASED | BUTTON4_PRESSED | BUTTON5_PRESSED, NULL);
diff --git a/ListItem.c b/ListItem.c
index 07788e73..a675327d 100644
--- a/ListItem.c
+++ b/ListItem.c
@@ -44,9 +44,9 @@ static void ListItem_display(Object* cast, RichString* out) {
if (this->moving) {
RichString_write(out, CRT_colors[DEFAULT_COLOR],
#ifdef HAVE_LIBNCURSESW
- CRT_utf8 ? "↕ " :
+ CRT_utf8 ? "↕ " :
#endif
- "+ ");
+ "+ ");
} else {
RichString_prune(out);
}
diff --git a/htop.c b/htop.c
index 538d1094..a5e75660 100644
--- a/htop.c
+++ b/htop.c
@@ -109,7 +109,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
flags.sortKey = ColumnsPanel_fieldNameToIndex(optarg);
if (flags.sortKey == -1) {
errx(1, stderr, "Error: invalid column \"%s\".\n", optarg);
- }
+ }
break;
case 'd':
if (sscanf(optarg, "%16d", &(flags.delay)) == 1) {
@@ -122,7 +122,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
case 'u':
if (!Action_setUserOnly(optarg, &(flags.userId))) {
errx(1, stderr, "Error: invalid user \"%s\".\n", optarg);
- }
+ }
break;
case 'C':
flags.useColors = false;
diff --git a/openbsd/OpenBSDProcessList.c b/openbsd/OpenBSDProcessList.c
index c51a4f20..e003bde0 100644
--- a/openbsd/OpenBSDProcessList.c
+++ b/openbsd/OpenBSDProcessList.c
@@ -244,7 +244,7 @@ void ProcessList_goThroughEntries(ProcessList* this) {
this->totalTasks++;
if (proc->state == 'R') {
this->runningTasks++;
- }
+ }
proc->updated = true;
}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy