projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Make GUI output window scrollable.
[pspp-builds.git]
/
src
/
output
/
chart.c
diff --git
a/src/output/chart.c
b/src/output/chart.c
index 9ae12f9c3105c600cea0a2bed692a8dea824908c..49819e9fe03cc4073242ae97d05b77365c7e78a2 100644
(file)
--- a/
src/output/chart.c
+++ b/
src/output/chart.c
@@
-29,12
+29,12
@@
#include <plot.h>
#include <plot.h>
-#include <libpspp/alloc.h>
#include <libpspp/str.h>
#include <output/manager.h>
#include <output/output.h>
#include "error.h"
#include <libpspp/str.h>
#include <output/manager.h>
#include <output/output.h>
#include "error.h"
+#include "xalloc.h"
#include "gettext.h"
#define _(msgid) gettext (msgid)
#include "gettext.h"
#define _(msgid) gettext (msgid)
@@
-52,6
+52,7
@@
chart_create(void)
return NULL;
chart = xmalloc (sizeof *chart);
return NULL;
chart = xmalloc (sizeof *chart);
+ chart->lp = NULL;
d->class->initialise_chart(d, chart);
if (!chart->lp)
{
d->class->initialise_chart(d, chart);
if (!chart->lp)
{