diff options
author | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-17 21:31:11 -0300 |
---|---|---|
committer | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-17 21:31:11 -0300 |
commit | a7192d5e5c18ff9e27a511c81374e99395f73e07 (patch) | |
tree | 5ac68b0a55bdfff2b4b48a68c67b641fcea3bf31 /plugins | |
parent | af4184c66437e774aeffb9e552df607ee5ea8afc (diff) |
typos & use /opt/rosenrot folder
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/readability/readability.c | 3 | ||||
-rw-r--r-- | plugins/style/style.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/readability/readability.c b/plugins/readability/readability.c index 822e7c2..33df917 100644 --- a/plugins/readability/readability.c +++ b/plugins/readability/readability.c @@ -5,9 +5,10 @@ void read_readability_js(char* string) { - FILE* fp = fopen("/home/nuno/Documents/workspace/rosenrot/plugins/readability/readability.js", "r"); + FILE* fp = fopen("/opt/rosenrot/readability.js", "r"); if (!fp) { // fp is NULL, fopen failed fprintf(stderr, "Failed to open file\n"); + fprintf(stderr, "Consider running $ sudo make runtime_files\n"); string = NULL; return; } diff --git a/plugins/style/style.c b/plugins/style/style.c index bd40f6d..1c19ae1 100644 --- a/plugins/style/style.c +++ b/plugins/style/style.c @@ -5,7 +5,7 @@ void read_style_js(char* string) { - FILE* fp = fopen("/home/nuno/Documents/workspace/rosenrot/plugins/style/style.js", "r"); + FILE* fp = fopen("/opt/rosenrot/style.js", "r"); if (!fp) { // fp is NULL, fopen failed fprintf(stderr, "Failed to open file\n"); string = NULL; |