summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/asc/asc.c4
-rw-r--r--src/til.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/asc/asc.c b/src/modules/asc/asc.c
index 98455a7..e359e62 100644
--- a/src/modules/asc/asc.c
+++ b/src/modules/asc/asc.c
@@ -182,9 +182,9 @@ til_module_t asc_module = {
.render_fragment = asc_render_fragment,
.setup = asc_setup,
.name = "asc",
- .description = "ASCII text",
+ .description = "ASCII text (built-in)",
.author = "Vito Caputo <vcaputo@pengaru.com>",
- .flags = TIL_MODULE_OVERLAYABLE,
+ .flags = TIL_MODULE_OVERLAYABLE | TIL_MODULE_BUILTIN,
};
diff --git a/src/til.c b/src/til.c
index 6b4fd99..016eada 100644
--- a/src/til.c
+++ b/src/til.c
@@ -28,7 +28,6 @@
static til_threads_t *til_threads;
static struct timeval til_start_tv;
-extern til_module_t asc_module;
extern til_module_t blinds_module;
extern til_module_t checkers_module;
extern til_module_t compose_module;
@@ -59,14 +58,14 @@ extern til_module_t swab_module;
extern til_module_t swarm_module;
extern til_module_t voronoi_module;
-/* built-ins (til_builtins.c) */
+/* built-ins (mostly in til_builtins.c) */
+extern til_module_t asc_module;
extern til_module_t _blank_module;
extern til_module_t _none_module;
extern til_module_t _noop_module;
extern til_module_t _ref_module;
static const til_module_t *modules[] = {
- &asc_module,
&blinds_module,
&checkers_module,
&compose_module,
@@ -98,6 +97,7 @@ static const til_module_t *modules[] = {
&voronoi_module,
/* built-ins at the end */
+ &asc_module,
&_blank_module,
&_none_module,
&_noop_module,
© All Rights Reserved