project_files/hwc/rtl/misc.c
changeset 10132 701844ed50d3
parent 10131 4b4a043111f4
child 10137 a4537aab4117
equal deleted inserted replaced
10131:4b4a043111f4 10132:701844ed50d3
   106     return result;
   106     return result;
   107 }
   107 }
   108 
   108 
   109 bool fpcrtl_strcompare(string255 str1, string255 str2)
   109 bool fpcrtl_strcompare(string255 str1, string255 str2)
   110 {
   110 {
       
   111     FIX_STRING(str1);
       
   112     FIX_STRING(str2);
   111     if(strncmp(str1.str, str2.str, 256) == 0){
   113     if(strncmp(str1.str, str2.str, 256) == 0){
   112         return true;
   114         return true;
   113     }
   115     }
   114 
   116 
   115     return false;
   117     return false;