diff options
author | Hans Goudey <h.goudey@me.com> | 2020-09-23 20:06:42 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-09-23 20:06:42 +0300 |
commit | ffde556e9e22aa7420b749ae8c06d2cb9e6680d2 (patch) | |
tree | 8e26dbff9c6f3ed07241d0e2e6d1083956366dbb | |
parent | bf0cefe738bd469f83255795b4df537ce1caad4b (diff) |
Fix incorrect comparison for panel sorting
"Reported" by Valentin (Poulpator).
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 483e8f8c7c9..7bbc2c7e4a7 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -1673,7 +1673,7 @@ static int find_highest_panel(const void *a, const void *b) if (panel_a->type->flag & PNL_NO_HEADER) { return -1; } - if (panel_a->type->flag & PNL_NO_HEADER) { + if (panel_b->type->flag & PNL_NO_HEADER) { return 1; } |