File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
#include <dirent.h>
2
2
#include <getopt.h>
3
- #include "kfc.h"
4
3
#include <stdio.h>
5
4
#include <stdlib.h>
6
5
#include <string.h>
7
6
#include <sys/stat.h>
8
7
#include <time.h>
9
8
#include <unistd.h>
9
+ #include "kfc.h"
10
10
11
11
12
12
int
@@ -68,7 +68,7 @@ select_palette(void)
68
68
\\033]4;12;#$(echo $color15)\\033\\ \
69
69
\\033]10;#$(echo $foreground)\\033\\ \
70
70
\\033]11;#$(echo $background)\\033\\ \
71
- \\033]12;#$(echo $cursor)\\033\\ \" \033[21D" , p . CONF );
71
+ \\033]12;#$(echo $cursor)\\033\\ \" \033[21D" );
72
72
p .fp = fopen (p .CSEQ , "w" );
73
73
fprintf (p .fp , "%s" , p .PRI );
74
74
fclose (p .fp );
@@ -88,7 +88,7 @@ list_palette(void)
88
88
89
89
if (p .dr == NULL )
90
90
{
91
- fprintf ( stderr , "Could not open directory" );
91
+ printf ( "Could not open directory" );
92
92
return 1 ;
93
93
}
94
94
@@ -109,7 +109,7 @@ random_palette(void)
109
109
p .randf = 0 ;
110
110
if (p .dr == NULL )
111
111
{
112
- fprintf ( stderr , "Could not open directory" );
112
+ printf ( "Could not open directory" );
113
113
return 1 ;
114
114
}
115
115
You can’t perform that action at this time.
0 commit comments