biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace most strdup with gmx_strdup
[alexxy/gromacs.git]
/
src
/
programs
/
view
/
xdlg.cpp
diff --git
a/src/programs/view/xdlg.cpp
b/src/programs/view/xdlg.cpp
index 0769d670567f544c2b56044c3f5f1d27b746c502..c7f21ad9c22d00f40413a45e9f34c1e86115dbba 100644
(file)
--- a/
src/programs/view/xdlg.cpp
+++ b/
src/programs/view/xdlg.cpp
@@
-419,7
+419,7
@@
void HelpNow(t_dlg *dlg, t_dlgitem *dlgitem)
if (bCont)
{
srenew(lines, ++nlines);
- lines[nlines-1] = strdup(buf);
+ lines[nlines-1] =
gmx_
strdup(buf);
}
}
}
@@
-774,7
+774,7
@@
t_dlg *CreateDlg(t_x11 *x11, Window Parent, const char *title,
dlg->data = data;
if (title)
{
- dlg->title = strdup(title);
+ dlg->title =
gmx_
strdup(title);
}
else
{