summaryrefslogtreecommitdiffstats
path: root/EnvScreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'EnvScreen.c')
-rw-r--r--EnvScreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EnvScreen.c b/EnvScreen.c
index cd8e0cb3..30faaaba 100644
--- a/EnvScreen.c
+++ b/EnvScreen.c
@@ -26,7 +26,7 @@ const InfoScreenClass EnvScreen_class = {
EnvScreen* EnvScreen_new(Process* process) {
EnvScreen* this = xMalloc(sizeof(EnvScreen));
Object_setClass(this, Class(EnvScreen));
- return (EnvScreen*) InfoScreen_init(&this->super, process, NULL, LINES-3, " ");
+ return (EnvScreen*) InfoScreen_init(&this->super, process, NULL, LINES - 3, " ");
}
void EnvScreen_delete(Object* this) {
@@ -47,7 +47,7 @@ void EnvScreen_scan(InfoScreen* this) {
char* env = Platform_getProcessEnv(this->process->pid);
CRT_restorePrivileges();
if (env) {
- for (char *p = env; *p; p = strrchr(p, 0)+1)
+ for (char* p = env; *p; p = strrchr(p, 0) + 1)
InfoScreen_addLine(this, p);
free(env);
}