"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer3/CifDataValueFormatter.cpp" between
pymol-open-source-2.2.0.tar.gz and pymol-open-source-2.3.0.tar.gz

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

CifDataValueFormatter.cpp  (pymol-open-source-2.2.0):CifDataValueFormatter.cpp  (pymol-open-source-2.3.0)
skipping to change at line 64 skipping to change at line 64
strcasecmp("global_", s)); strcasecmp("global_", s));
} }
std::string & CifDataValueFormatter::nextbuf() { std::string & CifDataValueFormatter::nextbuf() {
// advance circular pointer // advance circular pointer
m_i = (m_i + 1) % m_buf.size(); m_i = (m_i + 1) % m_buf.size();
return m_buf[m_i]; return m_buf[m_i];
} }
const char * CifDataValueFormatter::quoted(const char * s) { const char * CifDataValueFormatter::quoted(const char * s) {
const char * quote = NULL; const char * quote = nullptr;
if (!strchr(s, '\n')) { if (!strchr(s, '\n')) {
if (!has_quotespace(s, '\'')) { if (!has_quotespace(s, '\'')) {
quote = "'"; quote = "'";
} else if (!has_quotespace(s, '"')) { } else if (!has_quotespace(s, '"')) {
quote = "\""; quote = "\"";
} }
} }
if (!quote) { if (!quote) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)