The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Spelling

Changes made to libbirdfont/OpenFontFormat/FontData.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/OpenFontFormat/FontData.vala +++ libbirdfont/OpenFontFormat/FontData.vala @@ -97,7 +97,7 @@ } /** Add additional checksum data to this checksum. */ - public void continous_check_sum (ref uint32 current_check_sum) { + public void continous_checksum (ref uint32 current_checksum) { uint trp = rp; uint l; @@ -110,7 +110,7 @@ l = (length () % 4 > 0) ? length () / 4 + 1 : length () / 4; for (uint32 i = 0; i < l; i++) { - current_check_sum += read_uint32 (); + current_checksum += read_uint32 (); } rp = trp; @@ -118,9 +118,9 @@ return; } - public uint32 check_sum () { + public uint32 checksum () { uint32 sum = 0; - continous_check_sum (ref sum); + continous_checksum (ref sum); return sum; }