X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=selector.git;a=blobdiff_plain;f=selector.c;h=2b51cf6d79b6f0b46eb66805bbec9208c741cd8f;hp=4746d0190c37dc67a125ea92c4916860b627b522;hb=0adedf1eeabf0bdb060e1bb4cfe8d5a8d3fd935d;hpb=da7354db9e825d8fa333a6dfc85f4f2d25f70b76 diff --git a/selector.c b/selector.c index 4746d01..2b51cf6 100644 --- a/selector.c +++ b/selector.c @@ -76,7 +76,7 @@ int attr_modeline, attr_focus_line, attr_error; void *safe_malloc(size_t n) { void *p = malloc(n); - if (!p && n != 0) { + if(!p && n != 0) { fprintf(stderr, "selector: can not allocate memory: %s\n", strerror(errno)); exit(EXIT_FAILURE); @@ -1222,7 +1222,7 @@ int main(int argc, char **argv) { /* Here we come back to standard display */ - if((key == KEY_ENTER || key == '\n')) { + if(key == KEY_ENTER || key == '\n') { char *t;