diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/subtitle_asset.cc | 2 | ||||
| -rw-r--r-- | src/subtitle_asset.h | 3 | ||||
| -rw-r--r-- | src/xml.cc | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc index 0d89546e..1df4496a 100644 --- a/src/subtitle_asset.cc +++ b/src/subtitle_asset.cc @@ -31,7 +31,7 @@ SubtitleAsset::SubtitleAsset (string directory, string xml) { _subtitle_id = string_child ("SubtitleID"); _movie_title = string_child ("MovieTitle"); - _reel_number = int64_child ("ReelNumber"); + _reel_number = string_child ("ReelNumber"); _language = string_child ("Language"); ignore_child ("LoadFont"); diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h index 4d62bfb4..d02e364c 100644 --- a/src/subtitle_asset.h +++ b/src/subtitle_asset.h @@ -220,7 +220,8 @@ private: std::string _subtitle_id; std::string _movie_title; - int64_t _reel_number; + /* strangely, this is sometimes a string */ + std::string _reel_number; std::string _language; std::list<boost::shared_ptr<LoadFontNode> > _load_font_nodes; @@ -116,7 +116,6 @@ XMLNode::optional_int64_child (string name) float XMLNode::float_child (string name) { - cout << "float node of " << string_child(name) << " for " << name << "\n"; return lexical_cast<float> (string_child (name)); } |
