diff options
| author | George Hazan <george.hazan@gmail.com> | 2024-07-09 20:42:27 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2024-07-09 20:42:27 +0300 |
| commit | 73dcc8be15c67e3ef7c10767886fcca676100424 (patch) | |
| tree | 94b172a8ea6feadcf55ba3251a07351b38676bd7 /src | |
| parent | 377be73f721bb9d6084f70e0bb3879eb51bad195 (diff) | |
fixes for various small quirks
Diffstat (limited to 'src')
| -rw-r--r-- | src/mir_app/src/clistgroups.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mir_app/src/clistgroups.cpp b/src/mir_app/src/clistgroups.cpp index da236f8481..c4d4ed2dba 100644 --- a/src/mir_app/src/clistgroups.cpp +++ b/src/mir_app/src/clistgroups.cpp @@ -294,8 +294,7 @@ MIR_APP_DLL(int) Clist_GroupMoveBefore(MGROUP hGroup, MGROUP hGroupBefore) }
else {
hGroupBefore--;
- CGroupInternal *pDest = FindGroup(hGroupBefore);
- if (pDest == nullptr)
+ if (!FindGroup(hGroupBefore))
return 0;
if (hGroup < hGroupBefore) {
|
