summaryrefslogtreecommitdiffstats
path: root/grapher/StapParser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'grapher/StapParser.hxx')
-rw-r--r--grapher/StapParser.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/grapher/StapParser.hxx b/grapher/StapParser.hxx
index a77ad1bc..4f1cbd5a 100644
--- a/grapher/StapParser.hxx
+++ b/grapher/StapParser.hxx
@@ -14,10 +14,11 @@ class StapParser
GraphWidget* _widget;
int _errFd;
int _inFd;
+ unsigned char _lineEndChar;
public:
StapParser(Gtk::Window* win,
GraphWidget* widget) : _win(win), _widget(widget), _errFd(-1),
- _inFd(-1)
+ _inFd(-1), _lineEndChar('\n')
{
}
void parseData(std::tr1::shared_ptr<GraphDataBase> gdata,