e548c94750
The pointer vector maintaining `content` in `editor` already keeps track of the number of lines and makes it available via a call to `ptr_vector_len` (or one could look at th `len` member of the ptr_vector struct...this is C, not some fancy object oriented language with data hiding). Delete the `lines` local variable and just use ptr_vector_len where necessary. Sorry; I should have done that in the first sweep through that code. My bad! Signed-off-by: Dan Cross <patchdev@fat-dragon.org> |
||
---|---|---|
deps | ||
dist | ||
docs | ||
src | ||
utils | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
file_id.diz | ||
GNUmakefile | ||
LICENSE.txt | ||
README.md | ||
setup.sh | ||
STRINGS.CHANGES |
MagickaBBS
A Bulletin Board System for UN*X like platforms.
For documentation, see http://docs.magickabbs.com/