Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-15 15:15:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-15 15:30:31 +0300
commit4226ee0b71fec6f08897dacf3d6632526618acca (patch)
tree560c333c5a9458f3dbbb606befd52d558b35503f /source/blender/blenlib/intern/string.c
parent30c3852ffd140b003410aae25b222dea8b76412f (diff)
Cleanup: comment line length (blenlib)
Prevents clang-format wrapping text before comments.
Diffstat (limited to 'source/blender/blenlib/intern/string.c')
-rw-r--r--source/blender/blenlib/intern/string.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c
index f092d278338..032041dbf68 100644
--- a/source/blender/blenlib/intern/string.c
+++ b/source/blender/blenlib/intern/string.c
@@ -380,7 +380,8 @@ char *BLI_str_quoted_substrN(const char *__restrict str, const char *__restrict
{
const char *startMatch, *endMatch;
- /* get the starting point (i.e. where prefix starts, and add prefixLen+1 to it to get be after the first " */
+ /* get the starting point (i.e. where prefix starts, and add prefixLen+1
+ * to it to get be after the first " */
startMatch = strstr(str, prefix);
if (startMatch) {
const size_t prefixLen = strlen(prefix);
@@ -438,8 +439,8 @@ char *BLI_str_replaceN(const char *__restrict str, const char *__restrict substr
* copy the text up to this position and advance the current position in the string
*/
if (str != match) {
- /* add the segment of the string from str to match to the buffer, then restore the value at match
- */
+ /* add the segment of the string from str to match to the buffer,
+ * then restore the value at match */
BLI_dynstr_nappend(ds, str, (match - str));
/* now our current position should be set on the start of the match */