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:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-04-18 13:27:31 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-04-18 13:28:13 +0300
commit9b338e802805bb7dbf981512923d6a1f343fbaa8 (patch)
treebf30dd58f5668e6377526acd1be46bfb8ba7ec03 /source/blender/makesdna/intern
parentea0630ade6f4c54fe1077a362f03b891e69e4b72 (diff)
parent287d1924fa149f0b52c75c387eac9d6621bb79bd (diff)
Merge remote-tracking branch 'origin/master' into blender2.8
Explicitly undoing 287d1924fa149f0 here, as that was a master-only change.
Diffstat (limited to 'source/blender/makesdna/intern')
-rw-r--r--source/blender/makesdna/intern/makesdna.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index d276e2c0859..a2c1e4d9463 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -464,7 +464,7 @@ static int preprocess_include(char *maindata, int len)
if (cp[0] == '/' && cp[1] == '/') {
comment = 1;
}
- else if (*cp < 32) {
+ else if (*cp == '\n') {
comment = 0;
}
if (comment || *cp < 32 || *cp > 128) *cp = 32;