Skip to content

Commit 231d149

Browse files
committed
kc.c: fix palette path
1 parent 1ce8dac commit 231d149

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ Linux have been tested at this time:
1414

1515
- simple terminal, st [2]
1616

17-
Other than a terminal emulator and C compiler (e.g. gcc), KISS Colors has no other dependencies.
17+
Other than a terminal emulator and C compiler (e.g. gcc), KISS Colors has no
18+
other dependencies.
1819

19-
Note: I apologize for the "ugliness" of the code at this time. I hope to address this
20-
in future commits.
20+
Note: I apologize for the "ugliness" of the code at this time. I hope to address
21+
this in future commits.
2122

2223

2324
INSTALLATION

kc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
int
1313
find_palettes(void)
1414
{
15-
if ( access("/etc/kc/palettes", F_OK) == 0 )
15+
if ( access("/usr/share/kc/palettes", F_OK) == 0 )
1616
{
17-
strcpy(p.SEQ, "/etc/kc/palettes");
17+
strcpy(p.SEQ, "/usr/share/kc/palettes");
1818
return 0;
1919
}
2020

0 commit comments

Comments
 (0)