💄 fix typo.

This commit is contained in:
Cheng Zhao 2013-11-07 16:59:33 +08:00
parent 64e3a6b437
commit 7324f0468b

View file

@ -84,7 +84,7 @@ def update_version_h(versions):
if 'ATOM_MAJOR_VERSION' in line: if 'ATOM_MAJOR_VERSION' in line:
lines[i] = '#define ATOM_MAJOR_VERSION {0}\n'.format(versions[0]) lines[i] = '#define ATOM_MAJOR_VERSION {0}\n'.format(versions[0])
lines[i + 1] = '#define ATOM_MINOR_VERSION {0}\n'.format(versions[1]) lines[i + 1] = '#define ATOM_MINOR_VERSION {0}\n'.format(versions[1])
lines[i + 2] = '#define ATOM_PATCH_VERSION {0}\n'.format(versions[1]) lines[i + 2] = '#define ATOM_PATCH_VERSION {0}\n'.format(versions[2])
with open(version_h, 'w') as f: with open(version_h, 'w') as f:
f.write(''.join(lines)) f.write(''.join(lines))