Explorar o código

* Patch from Martin Schreiber

git-svn-id: trunk@10614 -
michael %!s(int64=17) %!d(string=hai) anos
pai
achega
d699e37790
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/objpas/classes/resref.inc

+ 1 - 1
rtl/objpas/classes/resref.inc

@@ -392,7 +392,7 @@ begin
     // Collect all matches.
     While (R<>Nil) do
       begin
-      If R.RootMatches(FRoot) and (FRef=UpperCase(R.FGLobal)) Then
+      If R.RootMatches(FRoot) and ((FRef = '') or (FRef=UpperCase(R.FGLobal))) Then
         begin
         If Not Assigned(L) then
           L:=TFPList.Create;