aboutsummaryrefslogtreecommitdiff
path: root/curses/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'curses/main.c')
-rw-r--r--curses/main.c2
1 files changed, 1 insertions, 1 deletions
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;