mark.c (2235c7feac959bcc9ddfd6a2bc6be32102b1f84c) | mark.c (95270f73baf6fa95ae529bc2eb6a61f5c79f32c0) |
---|---|
1/* | 1/* |
2 * Copyright (C) 1984-2021 Mark Nudelman | 2 * Copyright (C) 1984-2022 Mark Nudelman |
3 * 4 * You may distribute under the terms of either the GNU General Public 5 * License or the Less License, as specified in the README file. 6 * 7 * For more information, see the README file. 8 */ 9 10 --- 43 unchanged lines hidden (view full) --- 54 struct mark *m; 55 IFILE ifile; 56 POSITION pos; 57 int ln; 58{ 59 m->m_ifile = ifile; 60 m->m_scrpos.pos = pos; 61 m->m_scrpos.ln = ln; | 3 * 4 * You may distribute under the terms of either the GNU General Public 5 * License or the Less License, as specified in the README file. 6 * 7 * For more information, see the README file. 8 */ 9 10 --- 43 unchanged lines hidden (view full) --- 54 struct mark *m; 55 IFILE ifile; 56 POSITION pos; 57 int ln; 58{ 59 m->m_ifile = ifile; 60 m->m_scrpos.pos = pos; 61 m->m_scrpos.ln = ln; |
62 if (m->m_filename != NULL) 63 /* Normally should not happen but a corrupt lesshst file can do it. */ 64 free(m->m_filename); |
|
62 m->m_filename = NULL; 63} 64 65/* 66 * Initialize the mark table to show no marks are set. 67 */ 68 public void 69init_mark(VOID_PARAM) --- 389 unchanged lines hidden --- | 65 m->m_filename = NULL; 66} 67 68/* 69 * Initialize the mark table to show no marks are set. 70 */ 71 public void 72init_mark(VOID_PARAM) --- 389 unchanged lines hidden --- |