From e302a970a874bc202505fa1d95d595b14f43a609 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Mon, 25 Dec 2023 17:14:13 +0100 Subject: Reformatted file_has_pname() --- FICS/utils.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'FICS') diff --git a/FICS/utils.c b/FICS/utils.c index 97887c3..f77841b 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -769,13 +769,14 @@ PUBLIC int lines_file(char *file) return lcount; } -PUBLIC int file_has_pname(char *fname, char *plogin) +PUBLIC int +file_has_pname(char *fname, char *plogin) { - if (!strcmp(file_wplayer(fname), plogin)) - return 1; - if (!strcmp(file_bplayer(fname), plogin)) - return 1; - return 0; + if (!strcmp(file_wplayer(fname), plogin)) + return 1; + if (!strcmp(file_bplayer(fname), plogin)) + return 1; + return 0; } PUBLIC char * -- cgit v1.2.3