Replace some remaining tabs

This commit is contained in:
Michael McConville 2015-09-19 12:21:22 -04:00
parent 571cbc0aa1
commit ad1a0ad08d
4 changed files with 7 additions and 7 deletions

4
CRT.c
View File

@ -609,9 +609,9 @@ void CRT_init(int delay, int colorScheme) {
CRT_treeStr = CRT_treeStr =
#ifdef HAVE_LIBNCURSESW #ifdef HAVE_LIBNCURSESW
CRT_utf8 ? CRT_treeStrUtf8 : CRT_utf8 ? CRT_treeStrUtf8 :
#endif #endif
CRT_treeStrAscii; CRT_treeStrAscii;
#if NCURSES_MOUSE_VERSION > 1 #if NCURSES_MOUSE_VERSION > 1
mousemask(BUTTON1_RELEASED | BUTTON4_PRESSED | BUTTON5_PRESSED, NULL); mousemask(BUTTON1_RELEASED | BUTTON4_PRESSED | BUTTON5_PRESSED, NULL);

View File

@ -44,9 +44,9 @@ static void ListItem_display(Object* cast, RichString* out) {
if (this->moving) { if (this->moving) {
RichString_write(out, CRT_colors[DEFAULT_COLOR], RichString_write(out, CRT_colors[DEFAULT_COLOR],
#ifdef HAVE_LIBNCURSESW #ifdef HAVE_LIBNCURSESW
CRT_utf8 ? "" : CRT_utf8 ? "" :
#endif #endif
"+ "); "+ ");
} else { } else {
RichString_prune(out); RichString_prune(out);
} }

4
htop.c
View File

@ -109,7 +109,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
flags.sortKey = ColumnsPanel_fieldNameToIndex(optarg); flags.sortKey = ColumnsPanel_fieldNameToIndex(optarg);
if (flags.sortKey == -1) { if (flags.sortKey == -1) {
errx(1, stderr, "Error: invalid column \"%s\".\n", optarg); errx(1, stderr, "Error: invalid column \"%s\".\n", optarg);
} }
break; break;
case 'd': case 'd':
if (sscanf(optarg, "%16d", &(flags.delay)) == 1) { if (sscanf(optarg, "%16d", &(flags.delay)) == 1) {
@ -122,7 +122,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
case 'u': case 'u':
if (!Action_setUserOnly(optarg, &(flags.userId))) { if (!Action_setUserOnly(optarg, &(flags.userId))) {
errx(1, stderr, "Error: invalid user \"%s\".\n", optarg); errx(1, stderr, "Error: invalid user \"%s\".\n", optarg);
} }
break; break;
case 'C': case 'C':
flags.useColors = false; flags.useColors = false;

View File

@ -244,7 +244,7 @@ void ProcessList_goThroughEntries(ProcessList* this) {
this->totalTasks++; this->totalTasks++;
if (proc->state == 'R') { if (proc->state == 'R') {
this->runningTasks++; this->runningTasks++;
} }
proc->updated = true; proc->updated = true;
} }
} }