From e2d393ac442287191c9da50db012436f576c67e8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Jun 2013 12:34:50 +0000 Subject: fix for broken condition git-svn-id: http://svn.miranda-ng.org/main/trunk@5192 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Utils.pas/mirutils.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Utils.pas/mirutils.pas b/plugins/Utils.pas/mirutils.pas index 97717ea1cd..4e45e08fe2 100644 --- a/plugins/Utils.pas/mirutils.pas +++ b/plugins/Utils.pas/mirutils.pas @@ -768,7 +768,7 @@ begin groupId:=0; repeat pw:=DBReadUnicode(0,'CListGroups',IntToStr(groupIdStr,groupId)); - if pw<>nil then + if pw=nil then break; if StrCmpW(pw+1,@grbuf[1])=0 then -- cgit v1.2.3