diff options
author | Friendly <Hacker> | 2021-07-20 12:47:14 -0400 |
---|---|---|
committer | Friendly <Hacker> | 2021-07-20 12:47:14 -0400 |
commit | 6018c29480808a6327f6cea39d85b9f0ccd32725 (patch) | |
tree | 5a765a29b065191be6d71f09e844c82a43dfd0cd | |
parent | df38031f493c0cdb35218fda566077103ee1a68e (diff) |
Successful Build
Now to procure some FMP files...
-rw-r--r-- | curses/Makefile.am | 1 | ||||
-rw-r--r-- | curses/main.c | 2 |
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; |