summaryrefslogtreecommitdiff
path: root/decoder/ff_spans.cc
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/ff_spans.cc')
-rw-r--r--decoder/ff_spans.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff_spans.cc b/decoder/ff_spans.cc
index 511ab728..b473c8a4 100644
--- a/decoder/ff_spans.cc
+++ b/decoder/ff_spans.cc
@@ -20,7 +20,7 @@ SpanFeatures::SpanFeatures(const string& param) :
string valfile;
vector<string> toks;
Tokenize(param, ' ', &toks);
- if (toks.size() == 2) { mapfile = param[0]; valfile = param[1]; }
+ if (toks.size() == 2) { mapfile = toks[0]; valfile = toks[1]; }
if (mapfile.size() > 0) {
int lc = 0;
if (!SILENT) { cerr << "Reading word map for SpanFeatures from " << param << endl; }