diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-11 07:47:43 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-11 07:47:43 +0000 |
commit | b50199492bde36f053a13223aeba872afb7b461c (patch) | |
tree | 4b558d8f45b31afac1ce710f6348d6b5883530e7 /src | |
parent | e350e9553c46ac1faae16c5a0426610b6a316f50 (diff) |
Fixed offset_debug for pi nodes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@144 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src')
-rw-r--r-- | src/pugixml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 0fcf6ad..d214307 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -2699,12 +2699,12 @@ namespace pugi case node_element:
case node_declaration:
+ case node_pi:
return _root->name_insitu ? static_cast<int>(_root->name - buffer) : -1;
case node_pcdata:
case node_cdata:
case node_comment:
- case node_pi:
return _root->value_insitu ? static_cast<int>(_root->value - buffer) : -1;
default:
|