X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-comments.c;h=eeb512d9494eaa3c07cc1a198eeec6de38fa5071;hb=c4bc3574d974d3aaf4d291097c995a31515a308a;hp=600ec897414808b1e62b39cffd084b9a89c0f67a;hpb=96994a54e60e9c95b8bba54c2281acf7059b1203;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-comments.c b/src/ui/gui/psppire-dialog-action-comments.c index 600ec89741..eeb512d949 100644 --- a/src/ui/gui/psppire-dialog-action-comments.c +++ b/src/ui/gui/psppire-dialog-action-comments.c @@ -114,7 +114,7 @@ retrieve_comments (PsppireDialogAction *pda) gtk_text_buffer_set_text (buffer, "", 0); - for (i = 0 ; i < dict_get_document_line_cnt (pda->dict->dict); ++i) + for (i = 0 ; i < dict_get_document_n_lines (pda->dict->dict); ++i) add_line_to_buffer (buffer, dict_get_document_line (pda->dict->dict, i)); }