diff options
-rw-r--r-- | source/blender/blenkernel/intern/gpencil.c | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/BLI_heap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c index 3ab7fa88846..e6d5514a0f1 100644 --- a/source/blender/blenkernel/intern/gpencil.c +++ b/source/blender/blenkernel/intern/gpencil.c @@ -404,7 +404,7 @@ bGPDlayer *BKE_gpencil_layer_addnew(bGPdata *gpd, const char *name, bool setacti } else { /* if active layer, add after that layer */ - BLI_insertlinkafter(&gpd->layers,gpl_active, gpl); + BLI_insertlinkafter(&gpd->layers, gpl_active, gpl); } /* annotation vs GP Object behaviour is slightly different */ diff --git a/source/blender/blenlib/intern/BLI_heap.c b/source/blender/blenlib/intern/BLI_heap.c index cef3eb2dafb..4d662f067ba 100644 --- a/source/blender/blenlib/intern/BLI_heap.c +++ b/source/blender/blenlib/intern/BLI_heap.c @@ -461,7 +461,7 @@ static void fastheap_down(FastHeap *heap, uint start_i, const FastHeapNode *init #if 1 /* The compiler isn't smart enough to realize that all computations * using index here can be modified to work with byte offset. */ - uint8_t *const tree_buf = (uint8_t*)heap->tree; + uint8_t * const tree_buf = (uint8_t *)heap->tree; #define OFFSET(i) (i * (uint)sizeof(FastHeapNode)) #define NODE(offset) (*(FastHeapNode*)(tree_buf + (offset))) |