Commits

tabe  committed 499c338

moved loop-invariant codes

  • Participants
  • Parent commits 2de1c5b
  • Branches GD-2.0

Comments (0)

Files changed (1)

     }
 
 
+  if (c == gdAntiAliased) {
+	  fill_color = im->AA_color;
+  } else {
+	  fill_color = c;
+  }
   if (!im->polyAllocated)
     {
       if (overflow2(sizeof (int), n)) {
 /*              int dirLast = 0; */
 /*              int interFirst = 1; */
 /* 2.0.26+      int yshift = 0; */
-      if (c == gdAntiAliased) {
-        fill_color = im->AA_color;
-      } else {
-        fill_color = c;
-      }
       ints = 0;
       for (i = 0; (i < n); i++)
 	{