diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-09 11:31:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-09 11:34:26 +0300 |
commit | 5704ba7f9bd6ec3525422e6b787c8ea115e17cf5 (patch) | |
tree | 3f59e8a74a41d01f112227884d834e722128433d /source/blender/blenlib/intern | |
parent | d030443601921d203a5ff55774b80eb18d23e88c (diff) |
Cleanup: style, spelling
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/BLI_ghash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/BLI_ghash.c b/source/blender/blenlib/intern/BLI_ghash.c index 0cb30208642..381535882b7 100644 --- a/source/blender/blenlib/intern/BLI_ghash.c +++ b/source/blender/blenlib/intern/BLI_ghash.c @@ -607,7 +607,7 @@ static Entry *ghash_pop(GHash *gh, GHashIterState *state) } /* Note: using first_bucket_index here allows us to avoid potential huge number of loops over buckets, - * in case we are poping from a large ghash with few items in it... */ + * in case we are popping from a large ghash with few items in it... */ curr_bucket = ghash_find_next_bucket_index(gh, curr_bucket); Entry *e = gh->buckets[curr_bucket]; @@ -915,12 +915,12 @@ bool BLI_ghash_haskey(GHash *gh, const void *key) } /** - * Remove a random entry from \a ghp, returning true if a key/value pair could be removed, false otherwise. + * Remove a random entry from \a gh, returning true if a key/value pair could be removed, false otherwise. * * \param r_key: The removed key. * \param r_val: The removed value. * \param state: Used for efficient removal. - * \return true if there was somethjing to pop, false if ghash was already empty. + * \return true if there was something to pop, false if ghash was already empty. */ bool BLI_ghash_pop( GHash *gh, GHashIterState *state, @@ -1437,7 +1437,7 @@ bool BLI_gset_haskey(GSet *gs, const void *key) } /** - * Remove a random entry from \a gsp, returning true if a key could be removed, false otherwise. + * Remove a random entry from \a gs, returning true if a key could be removed, false otherwise. * * \param r_key: The removed key. * \param state: Used for efficient removal. |