Merging r50119 through r50132 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / space_node / drawnode.c
index ad61fe571c26035dee046eefa10c2a4250b6d7a4..ddea7da929ac1d49aad7174acbe216ba038b9f41 100644 (file)
@@ -858,13 +858,13 @@ static void node_draw_group(const bContext *C, ARegion *ar, SpaceNode *snode, bN
                        while (gsock && (!sock || sock->groupsock != gsock)) {
                                draw_group_socket(C, snode, ntree, gnode, NULL, gsock, index, SOCK_IN);
                                gsock = gsock->next;
-                               ++index;
+                               index++;
                        }
                        while (sock && gsock && sock->groupsock == gsock) {
                                draw_group_socket(C, snode, ntree, gnode, sock, gsock, index, SOCK_IN);
                                sock = sock->next;
                                gsock = gsock->next;
-                               ++index;
+                               index++;
                        }
                }
                gsock = ngroup->outputs.first;
@@ -878,13 +878,13 @@ static void node_draw_group(const bContext *C, ARegion *ar, SpaceNode *snode, bN
                        while (gsock && (!sock || sock->groupsock != gsock)) {
                                draw_group_socket(C, snode, ntree, gnode, NULL, gsock, index, SOCK_OUT);
                                gsock = gsock->next;
-                               ++index;
+                               index++;
                        }
                        while (sock && gsock && sock->groupsock == gsock) {
                                draw_group_socket(C, snode, ntree, gnode, sock, gsock, index, SOCK_OUT);
                                sock = sock->next;
                                gsock = gsock->next;
-                               ++index;
+                               index++;
                        }
                }