likle / cwalk

Path library for C/C++. Cross-Platform for Linux, FreeBSD, Windows and MacOS. Supports UNIX and Windows path styles on those platforms.
https://likle.github.io/cwalk/
MIT License
250 stars 39 forks source link

fix_typo in docs/reference/cwk_path_get_previous_segment.md #13

Closed Ilya33 closed 4 years ago

Ilya33 commented 4 years ago

Hello.

Fix typo in the cwk_path_get_previous_segment.md.

Current segment is 'path' should be Current segment is 'path.txt'.

Also I added cast segment.size to int like in the cwk_path_get_next_segment.md and \n in printf.

Best Regards, Ilya Pavlov

codecov[bot] commented 4 years ago

Codecov Report

Merging #13 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   97.90%   97.90%           
=======================================
  Files           1        1           
  Lines         478      478           
=======================================
  Hits          468      468           
  Misses         10       10           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 276bda4...a7e129c. Read the comment docs.

likle commented 4 years ago

Hi @Ilya33 , thank you so much for your valuable contributions!