Skip to content

Commit

Permalink
kc.c: fix palette path
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpcpc committed Jul 10, 2020
1 parent 1ce8dac commit 231d149
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ Linux have been tested at this time:

- simple terminal, st [2]

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

Note: I apologize for the "ugliness" of the code at this time. I hope to address this
in future commits.
Note: I apologize for the "ugliness" of the code at this time. I hope to address
this in future commits.


INSTALLATION
Expand Down
4 changes: 2 additions & 2 deletions kc.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
int
find_palettes(void)
{
if ( access("/etc/kc/palettes", F_OK) == 0 )
if ( access("/usr/share/kc/palettes", F_OK) == 0 )
{
strcpy(p.SEQ, "/etc/kc/palettes");
strcpy(p.SEQ, "/usr/share/kc/palettes");
return 0;
}

Expand Down

0 comments on commit 231d149

Please sign in to comment.