summaryrefslogtreecommitdiff
path: root/src/fruits/cmsrv
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-09-08 13:54:36 -0400
committerAndrew Opalach <andrew@akon.city> 2025-09-08 13:54:36 -0400
commitce955da36daa278d5b331b3c97e228e733a5125e (patch)
treee221231e7c0da5324355af44a2e53f41166e3a05 /src/fruits/cmsrv
parentcbbb0c16dc3d9c375ac2a18ca3d59cc308d41beb (diff)
downloadcamu-ce955da36daa278d5b331b3c97e228e733a5125e.tar.gz
camu-ce955da36daa278d5b331b3c97e228e733a5125e.tar.bz2
camu-ce955da36daa278d5b331b3c97e228e733a5125e.zip
Major FFmpeg build improvements
- Make build more compatible with a traditional linux environment. Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/fruits/cmsrv')
-rw-r--r--src/fruits/cmsrv/ui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fruits/cmsrv/ui.c b/src/fruits/cmsrv/ui.c
index 4f1ece4..1dd5fa2 100644
--- a/src/fruits/cmsrv/ui.c
+++ b/src/fruits/cmsrv/ui.c
@@ -158,9 +158,11 @@ static void render_lists(struct cmsrv_ui *ui)
if (resource->type == CAMU_RESOURCE_PORTAL) {
putnwstr_maxwidth_yx(n, y, x, max_width - x, &resource->post->title);
} else {
+#endif
char *c_str = al_str_to_c_str(&entry->brief);
ncplane_putstr_yx(n, y, x, c_str);
al_free(c_str);
+#ifdef CAMU_HAVE_PORTAL
}
#endif
if (++current_line >= max_height) break;