summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-27 11:56:50 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-27 11:56:50 +0000
commitc7a8f498a721a81588d24723b9224428a6b91b12 (patch)
tree25e5e20cf6c666e1d46a1054d52f9673ae94548c /src/pugixml.cpp
parente4ac1d93281a469e8ed61333dae7259085da542d (diff)
Renamed name parameter in load_file/save_file to path
git-svn-id: http://pugixml.googlecode.com/svn/trunk@540 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index e6b24e2..c31eae4 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -4328,11 +4328,11 @@ namespace pugi
return load_buffer_inplace_own(xmlstr, strlen(xmlstr), options, encoding_utf8);
}
- xml_parse_result xml_document::load_file(const char* name, unsigned int options, encoding_t encoding)
+ xml_parse_result xml_document::load_file(const char* path, unsigned int options, encoding_t encoding)
{
create();
- FILE* file = fopen(name, "rb");
+ FILE* file = fopen(path, "rb");
if (!file) return make_parse_result(status_file_not_found);
fseek(file, 0, SEEK_END);
@@ -4439,9 +4439,9 @@ namespace pugi
}
#endif
- bool xml_document::save_file(const char* name, const char_t* indent, unsigned int flags, encoding_t encoding) const
+ bool xml_document::save_file(const char* path, const char_t* indent, unsigned int flags, encoding_t encoding) const
{
- FILE* file = fopen(name, "wb");
+ FILE* file = fopen(path, "wb");
if (!file) return false;
xml_writer_file writer(file);