Skip to content

Commit 068bfb9

Browse files
committed
1 parent 31af009 commit 068bfb9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

fortune-mod/fortune/fortune.c

+3-4
Original file line numberDiff line numberDiff line change
@@ -1029,8 +1029,8 @@ static int form_file_list(char **files, int file_cnt)
10291029
offensive = true;
10301030
}
10311031

1032-
const char* fulldir = offensive ? OFFDIR : FORTDIR;
1033-
const char* locdir = offensive ? LOCOFFDIR : LOCFORTDIR;
1032+
const char *fulldir = offensive ? OFFDIR : FORTDIR;
1033+
const char *locdir = offensive ? LOCOFFDIR : LOCFORTDIR;
10341034

10351035
if (strcmp(sp, "all") == 0)
10361036
{
@@ -1046,8 +1046,7 @@ static int form_file_list(char **files, int file_cnt)
10461046
{
10471047
snprintf(
10481048
fullpathname, sizeof(fullpathname), "%s/%s", fulldir, sp);
1049-
snprintf(
1050-
locpathname, sizeof(locpathname), "%s/%s", locdir, sp);
1049+
snprintf(locpathname, sizeof(locpathname), "%s/%s", locdir, sp);
10511050
}
10521051
else
10531052
{

0 commit comments

Comments
 (0)