aboutsummaryrefslogtreecommitdiff
path: root/curses
diff options
context:
space:
mode:
authorTakamichi Horikawa <myon@myon98.net>2022-07-31 00:33:38 +0900
committerTakamichi Horikawa <myon@myon98.net>2022-07-31 00:33:38 +0900
commit7105157f7c76a8286baf8f5fc30fa30c4355ee4f (patch)
treefa0e5f8531944ba768efe43d7b322f2db574d9b7 /curses
parenta6772b9de0e6ac38ece13cb7e8942682c3da807f (diff)
parentabe5fdb00ed4da857ed24f7a7f2c8a00b7d2e96e (diff)
Merge branch 'NoSuck-curses_version_build_fixes'HEADmaster
Diffstat (limited to 'curses')
-rw-r--r--curses/Makefile.am1
-rw-r--r--curses/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/curses/Makefile.am b/curses/Makefile.am
index d4c7585..adcd311 100644
--- a/curses/Makefile.am
+++ b/curses/Makefile.am
@@ -4,6 +4,7 @@ bin_PROGRAMS=fmpc
LIBOPNA_SOURCES=../libopna/opnaadpcm.c \
../libopna/opnadrum.c \
../libopna/opnafm.c \
+ ../libopna/opnassg-sinc-c.c \
../libopna/opnassg.c \
../libopna/opnatimer.c \
../libopna/opna.c
diff --git a/curses/main.c b/curses/main.c
index 11952f9..9285e6c 100644
--- a/curses/main.c
+++ b/curses/main.c
@@ -681,7 +681,7 @@ int main(int argc, char **argv) {
iconv_t cd = iconv_open(nl_langinfo(CODESET), "CP932");
if (cd != (iconv_t)-1) {
char titlebufcrlf[TBUFLEN+1] = {0};
- ICONV_CONST char *in = (char *)work.comment[l];
+ ICONV_CONST char *in = (char *)work.get_comment(&work, 0);
size_t inleft = strlen(in)+1;
char *out = titlebufcrlf;
size_t outleft = TBUFLEN;