From fe63dee524f7576c8ae1e7c2d5303e2c2f8efe96 Mon Sep 17 00:00:00 2001 From: kamgha Date: Mon, 8 Jan 2024 19:53:46 +0100 Subject: [PATCH] Assorted docstring fixes Closes #1588 --- panda/src/express/multifile.I | 2 +- panda/src/gobj/texture.I | 8 ++++---- panda/src/text/fontPool.I | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/panda/src/express/multifile.I b/panda/src/express/multifile.I index d418c77598..266670b077 100644 --- a/panda/src/express/multifile.I +++ b/panda/src/express/multifile.I @@ -68,7 +68,7 @@ get_timestamp() const { } /** - * Changes the overall mudification timestamp of the multifile. Note that this + * Changes the overall modification timestamp of the multifile. Note that this * will be reset to the current time every time you modify a subfile. * Only set this if you know what you are doing! */ diff --git a/panda/src/gobj/texture.I b/panda/src/gobj/texture.I index 5ba9aa0f95..21b023369c 100644 --- a/panda/src/gobj/texture.I +++ b/panda/src/gobj/texture.I @@ -1895,7 +1895,7 @@ set_filename(const Filename &filename) { } /** - * Removes the alpha filename, if it was previously set. See set_filename(). + * Removes the filename, if it was previously set. See set_filename(). */ INLINE void Texture:: clear_filename() { @@ -1911,8 +1911,8 @@ clear_filename() { * The Texture's get_filename() function returns the name of the image file * that was loaded into the buffer. In the case where a texture specified two * separate files to load, a 1- or 3-channel color image and a 1-channel alpha - * image, this Filename is update to contain the name of the image file that - * was loaded into the buffer's alpha channel. + * image, the alpha_filename is updated to contain the name of the image file + * that was loaded into the buffer's alpha channel. */ INLINE void Texture:: set_alpha_filename(const Filename &alpha_filename) { @@ -1942,7 +1942,7 @@ set_fullpath(const Filename &fullpath) { } /** - * Removes the alpha fullpath, if it was previously set. See set_fullpath(). + * Removes the fullpath, if it was previously set. See set_fullpath(). */ INLINE void Texture:: clear_fullpath() { diff --git a/panda/src/text/fontPool.I b/panda/src/text/fontPool.I index c6fd4544e3..319d12905b 100644 --- a/panda/src/text/fontPool.I +++ b/panda/src/text/fontPool.I @@ -53,7 +53,7 @@ add_font(const std::string &filename, TextFont *font) { /** * Removes the indicated font from the pool, indicating it will never be * loaded again; the font may then be freed. If this function is never - * called, a reference count will be maintained on every font every loaded, + * called, a reference count will be maintained on every font ever loaded, * and fonts will never be freed. */ INLINE void FontPool::