Make DNA and RNA errors more meaningful and friendly
[blender.git] / source / blender / makesdna / intern / makesdna.c
index a6262a9b130e9ced7f6576c1d605effeb808214b..cf39fb69c73e3bc085cab148ef0983c51b14ec4c 100644 (file)
@@ -1195,7 +1195,9 @@ static int make_structDNA(const char *baseDirectory, FILE *file, FILE *file_offs
 static void make_bad_file(const char *file, int line)
 {
        FILE *fp = fopen(file, "w");
-       fprintf(fp, "#error \"Error! can't make correct DNA.c file from %s:%d, STUPID!\"\n", __FILE__, line);
+       fprintf(fp,
+              "#error \"Error! can't make correct DNA.c file from %s:%d, check alignment.\"\n",
+              __FILE__, line);
        fclose(fp);
 }