summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2020-10-31 20:52:20 +0100
committerBenny Baumann <BenBE@geshi.org>2020-11-02 22:14:59 +0100
commit374edb9ed5e9d5fa24cfe358258d82f69d9d430d (patch)
treec03a9a6e7ebc9e49180bbb22b5555c02819e47b0 /htop.c
parent0a51eae11fdd741c295d7b0390c6d9dbf04468d8 (diff)
Spacing after keywords (if)
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/htop.c b/htop.c
index f5c35929..2e11a949 100644
--- a/htop.c
+++ b/htop.c
@@ -186,7 +186,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
char* saveptr;
char* pid = strtok_r(argCopy, ",", &saveptr);
- if(!flags.pidMatchList) {
+ if (!flags.pidMatchList) {
flags.pidMatchList = Hashtable_new(8, false);
}
@@ -243,7 +243,7 @@ static void setCommFilter(State* state, char** commFilter) {
int main(int argc, char** argv) {
char *lc_ctype = getenv("LC_CTYPE");
- if(lc_ctype != NULL)
+ if (lc_ctype != NULL)
setlocale(LC_CTYPE, lc_ctype);
else if ((lc_ctype = getenv("LC_ALL")))
setlocale(LC_CTYPE, lc_ctype);
@@ -334,7 +334,7 @@ int main(int argc, char** argv) {
UsersTable_delete(ut);
Settings_delete(settings);
- if(flags.pidMatchList) {
+ if (flags.pidMatchList) {
Hashtable_delete(flags.pidMatchList);
}
return 0;

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