(file) Return to identical.c CVS log (file) (dir) Up to [OMI] / omi / wql

Diff for /omi/wql/identical.c between version 1.2 and 1.3

version 1.2, 2015/04/20 18:10:35 version 1.3, 2015/04/20 18:20:37
Line 23 
Line 23 
 */ */
  
 #include "wql.h" #include "wql.h"
 #include <base/strings.h>  #include <pal/strings.h>
   #include <pal/format.h>
  
 int WQL_Identical(const WQL* x, const WQL* y) int WQL_Identical(const WQL* x, const WQL* y)
 { {
Line 31 
Line 32 
  
     if (!x || !y)     if (!x || !y)
         return 0;         return 0;
   
     /* Check properties */     /* Check properties */
     {     {
         if (x->nproperties != y->nproperties)         if (x->nproperties != y->nproperties)
Line 39 
Line 39 
  
         for (i = 0; i < x->nproperties; i++)         for (i = 0; i < x->nproperties; i++)
         {         {
             if (Zcmp(x->properties[i], y->properties[i]) != 0)              if (Tcscmp(x->properties[i], y->properties[i]) != 0)
                 return 0;                 return 0;
         }         }
     }     }
  
     /* Check classname */     /* Check classname */
     if (Zcmp(x->className, y->className) != 0)      if (Tcscmp(x->className, y->className) != 0)
         return 0;         return 0;
  
     /* Check symbols */     /* Check symbols */
Line 66 
Line 66 
                 case WQL_TYPE_IDENTIFIER:                 case WQL_TYPE_IDENTIFIER:
                 case WQL_TYPE_STRING:                 case WQL_TYPE_STRING:
                 {                 {
                     if (Zcmp(sx->value.string, sy->value.string) != 0)                      if (Tcscmp(sx->value.string, sy->value.string) != 0)
                         return 0;                         return 0;
                     break;                     break;
                 }                 }


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

ViewCVS 0.9.2