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=339f1956cc727eda788638644ef93ab7852b31cd;hp=600ec897414808b1e62b39cffd084b9a89c0f67a;hpb=ff7ae14592cbdbebc4e4322424db95663ea7e166;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)); }